OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Crassus on 09 Apr 2003, 01:34:52
-
Okay, basic question here: I'm messing around with BAS's Rangers, and using two triggers, with the following in one of them:
Condition Field: player animationPhase "goggles" > 0
Actiavtion Field: player say "eng35"; group player setbehaviour "aware"; {_X animate ["goggles", 0]} forEach units group player
...which will check if my goggles are being raised.
I've the dimensions set to 0, and the Activation: West/Present/Once.
The other trigger has the following:
Condition Field: player animationPhase "goggles" > 0
Actiavtion Field: player say "eng20"; group player setbehaviour "combat"; {_X animate ["goggles", 1]} forEach units group playerThis checks if the goggles are being lowered.
Dimension at 50 by 50; Activation: Anybody/Present/Once.
Now, why are they being executed when I'm nowhere near the triggers? ::)
-
make sure u have it one west on the activation drop down thingy and not on none
-
So hang on, you want the trigger to go off when the player is in it's area, and moving their goggles?
If so your condition field needs to include this. eg.
Condition Field: this and (player animationPhase "goggles" > 0)
Try that and see if it fixes it ;)