Home   Help Search Login Register  

Author Topic: No ammo  (Read 526 times)

0 Members and 1 Guest are viewing this topic.

pazuzu

  • Guest
No ammo
« on: 13 Mar 2005, 01:14:47 »
I was wondering if there is a way to detect if a plane is out of ammo?

I'm making an air mission & I have a c130 flying around. Players are in F16's & I have it triggered so if an F16 gets within 70 meters of c130 that plane will rearm, repair & refuel.

I wanted to condition it so the planes have to be out of ammo before they can rearm.

Thanks

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Re:No ammo
« Reply #1 on: 13 Mar 2005, 01:34:01 »
maybe using the someammo command?

cheers

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:No ammo
« Reply #2 on: 13 Mar 2005, 02:37:30 »
 :o Check your official comref (command reference) :)

  UnitName Ammo "AALauncher" <1  :-*

...so its the "NAME_OF_AMMO" ya need to find.
try the ReadMe files that came with yer addons!

pazuzu

  • Guest
Re:No ammo
« Reply #3 on: 13 Mar 2005, 03:46:56 »
Thanks for the reply....

I cant get any command to work.

I keep getting "Error type bool expected nothing" message.

Maybe the syntax is off?

Thanks