Home   Help Search Login Register  

Author Topic: AI chopper re-arm  (Read 1023 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