Jump to content
Sign in to follow this  
Theodor Schmidt

Remove Grenades from spawned in units

Recommended Posts

Hello,

 

I am currently using the Enemy Occupation System to create a wave defence mission. However the nature of EOS means that (from my experience) I cannot edit the inventories of the units. This leaves me with a problem in that I do not want the units to have grenades. Is there a script which will allow me to remove all grenades from units that have been spawned in after the mission has started? Otherwise is there a way for me to edit inventories via script when defining units for EOS?

 

 

Share this post


Link to post
Share on other sites

Try adding

_unit removeMagazines "HandGrenade";
_unit removeMagazines "MiniGrenade";

to the for loop in infantry_fnc.sqf

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  

×