_trader allowDamage false; //find this
_trader setCaptive true; //add this
And my safezone script entering a safezone...
player allowDamage false; //find this
player setCaptive true; //add this
reverse these when exiting a safezone..
player allowDamage true; //find this
player setCaptive false; //add this
This seems to have the desired effect. ai do not shoot traders or me when in the safezone, once i leave they do shoot at me.
Can anyone think of a reason why this is a bad idea?
All of my gear was removed once when i restarted the server but i hadnt logged out my player before i killed the server. Have not replicated if i log first.
Question
kingpapawawa
I've edited server_spawnTraders to
_trader allowDamage false; //find this
_trader setCaptive true; //add this
And my safezone script entering a safezone...
player allowDamage false; //find this
player setCaptive true; //add this
reverse these when exiting a safezone..
player allowDamage true; //find this
player setCaptive false; //add this
This seems to have the desired effect. ai do not shoot traders or me when in the safezone, once i leave they do shoot at me.
Can anyone think of a reason why this is a bad idea?
All of my gear was removed once when i restarted the server but i hadnt logged out my player before i killed the server. Have not replicated if i log first.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now