Jump to content
Sign in to follow this  
weaponsandcash

Remove smoke from units and weapon boxes

Recommended Posts

How do I remove smoke from all units on a map and weapon boxes? This is for a MP map with Respawns, the units start with smoke and I want smoke completely removed from the map. Thanks!

Share this post


Link to post
Share on other sites

For removing on players:

_man = _this select 0;

_man removeMagazine "1Rnd_Smoke_Grenade_shell";
_man removeMagazine "1Rnd_SmokeBlue_Grenade_shell";
_man removeMagazine "1Rnd_SmokeGreen_Grenade_shell";
_man removeMagazine "1Rnd_SmokeOrange_Grenade_shell";
_man removeMagazine "1Rnd_SmokePurple_Grenade_shell";
_man removeMagazine "1Rnd_SmokeRed_Grenade_shell";
_man removeMagazine "1Rnd_SmokeYellow_Grenade_shell";

For gearboxes, go into the gearbox script and remove where it adds smokes.

Share this post


Link to post
Share on other sites

Great! Do you by chance also have the command for hand thrown smoke grenades? Thanks a lot for your help!

Edited by weaponsandcash

Share this post


Link to post
Share on other sites

I would try something along the lines of

man1 removemagazine "SmokeShellRed"
man1 removemagazine "SmokeShellYellow"
man1 removemagazine "SmokeShell"

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  

×