Jump to content
Sign in to follow this  
thetrooper

has helmet or head gear

Recommended Posts

Hi all, I'm using acondition for if a unit hasweapon, but I don't know what I need for a helmet?

Helmet is

H_PilotHelmetFighter_B

It doesn't work with hasWeapon. Any ideas?

Share this post


Link to post
Share on other sites
_headgear=headgear player;
if (_headgear == "H_PilotHelmetFighter_B") then {};

Share this post


Link to post
Share on other sites

cool, is there a way to put it in a trigger condition though like

player hasweapon "arifle_MX_ACO_F" && .......

Share this post


Link to post
Share on other sites
cool, is there a way to put it in a trigger condition though like
player hasweapon "arifle_MX_ACO_F" && (headgear player == "H_PilotHelmetFighter_B")

player hasweapon "arifle_MX_ACO_F" && (headgear player == "H_PilotHelmetFighter_B")

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  

×