OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Falcon988 on 03 Nov 2003, 02:46:49

Title: Contingency Variables
Post by: Falcon988 on 03 Nov 2003, 02:46:49
In the demo Blackhawk mission released by BAS they activated a variable just in case you were shot down whilst flying the Blackhawk.

How exactly do you do that?
Title: Re:Contingency Variables
Post by: .pablo. on 03 Nov 2003, 04:04:21
make a trigger

set condition to "dammage heliname == 1"
set action to "helidown = 1" or maybe "[] exec 'helidown.sqs'"

"helidown" is the name of a variable which u can use to trigger w/e u want
"[] exec 'helidown.sqs'" is some script that you would want to start