OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: pazuzu 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
-
maybe using the someammo command?
cheers
-
: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!
-
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