pazuzu 21 Posted March 13, 2005 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 Share this post Link to post Share on other sites
crashdome 3 Posted March 13, 2005 Try: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">someAmmo vehicle _nameOfVehicle replacing the _nameOfVehicle variable with whatever the plane's name is. It should return false if the plane is out of ammo. [Never tried this myself] Share this post Link to post Share on other sites