Welcome, Guest Saturday 19th April 2014, 05:21:25
   Home   Help Search Login Register  

OFPEC Forum

Author Topic: Easy Question: Trigger being activated when an entire group is in a vehicle  (Read 194 times)
0 Members and 1 Guest are viewing this topic.
Ding
Contributing Member
**
Offline Offline

Jurassic Park


« on: 20 Apr 2012, 10:33:36 »

This is a very easy question that I feel stupid not being able to work out myself, What do I put in the condition of a trigger to set it off once an entire group is in a vehicle?

I've tried:

Code:
units Group1 in Truck1

as well as a number of variations on that, would prefer not to have to use a script file to do this, it's really annoying me as I don't want to name each of the group member either and I know that it's something simple that i've just forgotten.

edit: managed to work it out eventually, have not edited in OFP in a while and forgot  Huh?

Code:
(count units aP1) == ("_x in T1" count units ap1)

that worked fine, locking topic
« Last Edit: 20 Apr 2012, 10:48:22 by Ding » Logged

"If I remain lost and die on a cross, atleast I wasn't born in a manger"
Pages: [1]   Go Up
  Send this topicPrint  
 
Jump to: