Can I change a faction to neutral when it started as enemy?
Hi,
I see where I can set an enemy of a faction:
kraylor:setEnemy(human)
or where I can set a faction as friendly:
kraylor:setFriendly(human)
...but how can I unset one of these to get back to a neutral or not enemy and not friendly state? I was thinking about deleting a faction and adding it back using, for example
kraylor:destroy()
...but I think that might cause problems for any existing objects with that faction already assigned.
Any ideas?
Thanks
I see where I can set an enemy of a faction:
kraylor:setEnemy(human)
or where I can set a faction as friendly:
kraylor:setFriendly(human)
...but how can I unset one of these to get back to a neutral or not enemy and not friendly state? I was thinking about deleting a faction and adding it back using, for example
kraylor:destroy()
...but I think that might cause problems for any existing objects with that faction already assigned.
Any ideas?
Thanks
Comments
This is because the science database is pre-populated with all factions at startup.