OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: DoDgY on 30 Oct 2005, 16:22:32
-
In my mission I have a trigger that is set off with "Radio Alpha". I want "Radio Alpha" to be activated like normal but I want the effects of the trigger to happen about 10 seconds later. The effects include an alarm, a light being switched off and units moving.
If I put:
Countdown max 10, min 10 and mid 10
then the trigger effects still go off straight away. I know I need to use two or more triggers but don't know how to go about it.
Secondly, I'd like the alarm to stop going off after 30 seconds or so and the light to come back on.
Searching didn't come up with much.
Thanks.
-
Yes I think you need some new triggers.
In "Radio Alpha" trigger in Activation field put a conditions, like 'effecton = true' for the light or whatever, and 'alarm = true' for the alarm.
Effect trigger: put that 'effecton' condition as ... condition. And 10 sec delay of course.
Alarm trigger: make a trigger with 'alarm' condition, you can set him to repeatedly. For the alarm stop put another trigger with 'alarm' condition, set the time you want the alarm to stop, in Activation field put 'alarm = false'.
-
If I put:
Countdown max 10, min 10 and mid 10
Should be:
If I put:
Time-out max 10, min 10 and mid 10
-
Thanks, I'll try that out when I have time :) .