Jump to content
Sign in to follow this  
thetrooper

Detect ammo on greyhawk

Recommended Posts

Hi all,

 

Is there an easy way to detect if a greyhawk is below a set of ammo to do something?

ie.
 

if (fuel grey1 < 0.8 | ammo grey1 < 0.9) 
then { hint "Stop and turn your engine off for maintenance"}

Fuel works fine. Not ammo though

Share this post


Link to post
Share on other sites

doesn't seem tyo be working. Even if i try it will full ammo still says message.

 

if (fuel grey1 < 0.8 | needReload grey1 < 0.2) 
then { hint "Stop and turn your engine off for maintenance"}

Share this post


Link to post
Share on other sites

if (fuel grey1 < 0.8 | needReload grey1 < 0.2)

 

Pretty sure this ^^^^^ is not the correct SQF syntax

 

 

Even if i try it will full ammo still says message

 

needReload with full ammo is 0, please read the command description

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×