Home   Help Search Login Register  

Author Topic: Triggers & Triggers  (Read 468 times)

0 Members and 1 Guest are viewing this topic.

Ace Productions

  • Guest
Triggers & Triggers
« on: 14 Jan 2004, 18:18:46 »
Hi everybody,

I have a quick scripting question.

How can I set as a condition for a loop to be exited only if UnitA is present in TriggerA?

I guess it has to do with thislist but I don't know the exact way.  ::)




Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Triggers & Triggers
« Reply #1 on: 14 Jan 2004, 20:23:11 »
On the top of my head try

unita in list triggername

if it's in a script (name the trigger), and

unita in thislist

if it's in a trigger
Not all is lost.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Triggers & Triggers
« Reply #2 on: 15 Jan 2004, 00:52:42 »
I suspect the trigger would have to be "triggered" by unitA.    So, for example, if unitA was East then the trigger Activation box would have to be East present or East not present.    You might have to set the trigger to repeatedly, otherwise it might be triggered by somebody else before unitA arrives.

If unitA is a group leader then group the trigger to him, as if it was another loon, and you'll get new options in the On Activation box.
Plenty of reviewed ArmA missions for you to play

Ace Productions

  • Guest
Re:Triggers & Triggers
« Reply #3 on: 15 Jan 2004, 18:16:27 »
Guys thanks a lot both of you for your replies.

Artak you are perfectly right as always.

Thank you again.