Home   Help Search Login Register  

Author Topic: Trigger to detect player present  (Read 1065 times)

0 Members and 2 Guests are viewing this topic.

Harvey

  • Guest
Trigger to detect player present
« on: 07 Dec 2004, 11:43:12 »
Hi again guys,

Im having a little trouble working out the command to detect a players presence in a trigger area. I have the command reference list but I couldnt see anything on there (although I guess it is on there!)

What I basically want is a trigger that fires when a player is in an area, but only when 2 previous objectives have been completed. I dont just want a "Detected by West" type trigger.

What I have so far is "Condition : obj1 and obj2............" which means it wont fire until the 2 objectives have been completed, but then I want it to fire when the player enters the area so I guess I need something like "and player=present", but I cant track down the relevant command.

Any help appreciated, cheers !

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Trigger to detect player present
« Reply #1 on: 07 Dec 2004, 11:51:03 »
Two ways to do this.   (At least.)


1.   Group the trigger to the player.   You will now get new options in the Activation box.     Then you'll have

Condition:  this and obj1 and obj2


2.   Use the array thislist

Activation:    East present (or whatever side the player is)
Condition:   (player in thislist) and obj1 and obj2
Plenty of reviewed ArmA missions for you to play

Harvey

  • Guest
Re:Trigger to detect player present
« Reply #2 on: 07 Dec 2004, 12:54:51 »
OK, couldnt get the (in thislist) to work, but it worked fine with grouping to the trigger.

Thanks
« Last Edit: 07 Dec 2004, 12:55:16 by Harvey »