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: set altitude triggers a action  (Read 2147 times)

0 Members and 1 Guest are viewing this topic.

CooK

  • Guest
set altitude triggers a action
« on: 19 Oct 2002, 03:41:06 »
k making a map where if you fly at a alitude of x resistance dofire on you.

what is the command of how to make this happen?

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:set altitude triggers a action
« Reply #1 on: 19 Oct 2002, 07:45:30 »
You can get a trigger to activate when a unit flies above a certain altitude... the Condition line looks like this:

(getpos unit select 2) > x

Where x is your altitude... ;)