Jump to content
Sign in to follow this  
Gatsu

safe zones

Recommended Posts

So I made two triggers, palced on eachother, one lookine like this:

Activation: OPFOR

repeatedly

present

act: player allowDamage false;

and the other like this:

Activation: OPFOR

repeatedly

not present

act: player allowDamage true;

It works when I fight the npcs but doesn't this affect all players if one is inside the safe zone?

Should I somehow edit this to affect only one player, the one that entered the trigger, or is it already only executed locally?

Share this post


Link to post
Share on other sites

I'm not the uber-editor but if you group (F2) the trigger and player it should only be triggered by him. Once you do this the trigger is giving you the options of vehicle, side or group of triggered element. Hope this helps!

Share this post


Link to post
Share on other sites

Shouldn't you be able to just use one trigger?

Activation: OPFOR

repeatedly

present

condition: local player && player in thisList

onAct: player allowDamage false;

deAct: player allowDamage true;

Edited by Iceman77

Share this post


Link to post
Share on other sites

Unless you would like to warn them to turn around, the code should act on one.

I use a slightly different act code.

Do you notice empty vehicles blow up with the civ protection tho ?.

Share this post


Link to post
Share on other sites
Shouldn't you be able to just use one trigger?

Thank you, that was a better way to do it :)

---------- Post added at 22:28 ---------- Previous post was at 22:27 ----------

Unless you would like to warn them to turn around, the code should act on one.

I use a slightly different act code.

Do you notice empty vehicles blow up with the civ protection tho ?.

Sorry I dont know, I don't have any vehicles on my map..

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×