OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: KoniaX on 05 Aug 2004, 07:04:11
-
Is there any way to make a helicopter come to wherever I shoot a flare. Such as I want to shoot a flare anywhere, and have an extraction helicopter pick me up. Anyone know of a way scripting could help?
-
I might still have an example mission where just that thing is scripted for
basically what I did if I remember correctly is use the ammo command in the condition of a trigger
something like:
?(Guy ammo "Flare" == 0)
make them start with only one flare, and when it's fired the condition of the trigger will be met...
you can have a chopper on a waypoint somewhere synched to tour trigger then
I'm sure you can probably use an EventHandler somehow to accomplish the same thing , but I'm not too familiar with that method, and know this way works too
:cheers: