Home   Help Search Login Register  

Author Topic: Trigger Activated. Why.  (Read 439 times)

0 Members and 1 Guest are viewing this topic.

Crassus

  • Guest
Trigger Activated. Why.
« 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:


Code: [Select]
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:
Code: [Select]
Condition Field:     player animationPhase "goggles" > 0
Actiavtion Field:    player say "eng20"; group player setbehaviour "combat"; {_X animate ["goggles", 1]} forEach units group player
This 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? ::)

_hammy_

  • Guest
Re:Trigger Activated. Why.
« Reply #1 on: 09 Apr 2003, 03:05:30 »
make sure u have it one west on the activation drop down thingy and not on none

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Trigger Activated. Why.
« Reply #2 on: 09 Apr 2003, 06:40:32 »
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 ;)