Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Easy Question: Trigger being activated when an entire group is in a vehicle  (Read 2134 times)

0 Members and 1 Guest are viewing this topic.

Offline Ding

  • Contributing Member
  • **
  • Jurassic Park
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: [Select]
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  ???

Code: [Select]
(count units aP1) == ("_x in T1" count units ap1)
that worked fine, locking topic
« Last Edit: 20 Apr 2012, 11:48:22 by Ding »
"If I remain lost and die on a cross, atleast I wasn't born in a manger"