I just wanted to ask a question, as I'm currently for a while not able to access my PC, but I'd like to know if my thought process on this is correct.
Â
Let's say we have 3 factions. Red, blue and green.Â
Once a player starts he or she is neutral and the NPCs of said colors are set to friendly.Â
If I'd give the player the option to join a faction (Changing player variable), would this allow me to have NPCs of the other factions automatically register the player as an enemy? Again through variables.
So npc friendly condition is set if player "faction" variable = 1 (neutral)
And then also add the same where 1 = x the number of said faction.
Â
Am I correct in this?Â
But is there a way to have npc auto attack other NPCs of a different faction, or is the only way right now, to enable npc to attack other NPCs if hit (accidentally) by set npc?Â
Question
gregnator
Hello!Â
I just wanted to ask a question, as I'm currently for a while not able to access my PC, but I'd like to know if my thought process on this is correct.
Â
Let's say we have 3 factions. Red, blue and green.Â
Once a player starts he or she is neutral and the NPCs of said colors are set to friendly.Â
If I'd give the player the option to join a faction (Changing player variable), would this allow me to have NPCs of the other factions automatically register the player as an enemy? Again through variables.
So npc friendly condition is set if player "faction" variable = 1 (neutral)
And then also add the same where 1 = x the number of said faction.
Â
Am I correct in this?Â
But is there a way to have npc auto attack other NPCs of a different faction, or is the only way right now, to enable npc to attack other NPCs if hit (accidentally) by set npc?Â
Thanks
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now