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: AI chopper re-arm  (Read 1722 times)

0 Members and 1 Guest are viewing this topic.

Offline Crowey

  • Members
  • *
AI chopper re-arm
« on: 07 Jan 2009, 17:58:24 »
Hi guys is there way way to get an ai chopper to re arm at a supply truck whilst its following a destroy WP command???

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re: AI chopper re-arm
« Reply #1 on: 07 Jan 2009, 19:07:12 »
You'll have to run a script to move the chopper to the location of the supply truck, then execute the action
Code: [Select]
myChopper action ["REARM", myAmmoTruck]
If you execute that action without moving the chopper to the location of the truck, they will rearm from their current position, no matter the distance.
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

Offline Crowey

  • Members
  • *
Re: AI chopper re-arm
« Reply #2 on: 08 Jan 2009, 12:35:09 »
Wicked cheers mate

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re: AI chopper re-arm
« Reply #3 on: 09 Jan 2009, 04:23:24 »
No problem! Glad to help!
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08