Jump to content
Sign in to follow this  
1para{god-father}

Reset a Trigger area

Recommended Posts

I have a trigger that I am using , but I need to know if there is a way to reset it after bluefor have left the area so it will trigger again if they come in the trigger area ? Is that possible

trigger Bluefor , Present


Condition
isServer AND "Land" counttype thislist > 0 

Act on
nul = [] execVM "missions\dubrovka.sqf";

Share this post


Link to post
Share on other sites

It you set it to repeatable the trigger will activate again everytime the condition is true after having been false. If the trigger is BLUFOR PRESENT then it will activate everytime there is blufor in the area when there wasn't before.

Share this post


Link to post
Share on other sites

Additional info on repeating triggers.

If you want a trigger to repeatedly activate if bluefor is inside it:

In init or a units initline place a global variable.

myvariable = true;

Place the global variable in the condition.

this AND myvariable

in on act de activate the variable:

_null = [] execVM "script.sqf"; myvariable = false;

on de act re activate the variable:

myvariable = true;

Now while any bluefor is inside the trigger it will fire again after the delay you have set and again and again.

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  

×