Jump to content
Sign in to follow this  
ptpau

Making ammo box only destructable by demo charge

Recommended Posts

I am building a mission where I need an ammo box only destructible by a demo charge rather than just by shooting it with small arms as you can now,

Thank you in advance for any help.

Share this post


Link to post
Share on other sites

_ammobox addEventHandler ["HandleDamage",{((_this select 4) == "SatchelCharge_Remote_Ammo") || ((_this select 4) == "DemoCharge_Remote_Ammo");}];

should do it

Share this post


Link to post
Share on other sites

Does exactly what I needed, thank you very much.

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  

×