OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: MeltedAd on 04 Oct 2005, 23:31:38

Title: alarm trigger
Post by: MeltedAd on 04 Oct 2005, 23:31:38
Can someone point me in the right direction? I have an alarm trigger which is activated by west present. I want the same trigger to be activated when a flare trap is triggered.
Title: Re:alarm trigger
Post by: The-Architect on 04 Oct 2005, 23:35:46
Have a condition.

In your alarm trigger put this is the activation bit,

Alerted = true

In your flare trap have in the condition field,

Alerted

That way when the alarm goes off, Alerted will become true.
The flare trap is waiting for Alerted to become true. When it does, with the alarm trigger, the flare trigger's on activation will start.

The Alerted bit can be anything. WhooshFlare or KaBoink. Anything.