OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: General Goober on 04 Feb 2003, 09:07:54
-
Can anyone tell me how I can properly set the script to raise the alarm for 5 minutes. I have got a trigger to go off when enemy present however it will not switch off.
-
The trigger which has the alarm as an effect should be set to repeatedly and it should be controlled by a variable e.g.
condition: alarmOn
you can then control the alarm by controlling the variable: have it set to true by one trigger when the intruders are detected, and have another trigger set it to false 5 minutes later.
-
Thanks very much. I will give that a try.
-
Still cannot get it to work. Going to try and find a tutorial. Any recommendations?
-
its too late tonight (midnight 16 GMT) but I'll post you an example mission tomorrow. its dead easy really. sorry I didn't explain myself better.
-
Thanks mate!!
-
hope this helps. Kolgujev.