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: checking if inside unit  (Read 771 times)

0 Members and 1 Guest are viewing this topic.

gadolinite

  • Guest
checking if inside unit
« on: 04 Jun 2003, 18:47:17 »
how yould you perform an action (condition for trigger) to see if a unit is in any position in a vehicle (cargo, driver, commander, gunner)?
« Last Edit: 04 Jun 2003, 18:47:35 by gadolinite »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:checking if inside unit
« Reply #1 on: 04 Jun 2003, 18:55:21 »
condition :

 unitname in vehiclename

or

(vehicle unit) != unit

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

gadolinite

  • Guest
Re:checking if inside unit
« Reply #2 on: 05 Jun 2003, 01:01:24 »
sounds good, LCD