OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods Beta Testing => Topic started by: GI-YO on 10 Dec 2004, 20:29:55

Title: New Lynx addon
Post by: GI-YO on 10 Dec 2004, 20:29:55
Does any one how to detect if the door has been opened on the helicopter?
I want to have a trigger that when detected the door is opened you get some radiochatter saying "shut the door you fool etc etc". Many thanks.

PS - THis is one wicked addon, cant wait for more from the falklands lot.

GI-YO
Title: Re:New Lynx addon
Post by: Colonel_Klink on 11 Dec 2004, 02:59:38
Offhand I think the scripting will go something like this in a script.


?(_this animationPhase "prtdoor" < =0.5): radiochatter script here etc

or for the other door

?(_this animationPhase "Stabdoor" <=0.5): radiochatter script here etc
Title: Re:New Lynx addon
Post by: GI-YO on 11 Dec 2004, 17:06:06
Thats the buisness, cheers Colonel_Klink!

GI-YO
Title: Re:New Lynx addon
Post by: DBR_ONIX on 18 Dec 2004, 17:17:31
Also check it engines are on, or height is above 5m or something..
"2, get in Lynx"
"Rodger"
"SHUT THE DOOR YOU FOOL!"
:P
- Ben