Jump to content
Sign in to follow this  
johnnyboy

Keep pistol in holster when unit does not have a primary weapon

Recommended Posts

Now that pistols show in holster with latest patch, is there anyway to keep the pistol holstered when the unit does not have a primary weapon?

It's annoying that you can't have cops, officers, or security guards that have pistols only, without the pistol always being in their hands.

Share this post


Link to post
Share on other sites

You can holster a weapon for example with:

player action ["SwitchWeapon", player, player, -1];

edit. Or do you mean AI units have trouble keeping the sidearm holstered? Then no idea, sorry.

Edited by Greenfist

Share this post


Link to post
Share on other sites
You can holster a weapon for example with:

player action ["SwitchWeapon", player, player, -1];

@Greenfist: Your suggestion works perfectly for both AI and player. Thanks much brother!

  • Like 1

Share this post


Link to post
Share on other sites
On 7/24/2015 at 10:19 AM, Greenfist said:

You can holster a weapon for example with:

 


player action ["SwitchWeapon", player, player, -1];
 

 

edit. Or do you mean AI units have trouble keeping the sidearm holstered? Then no idea, sorry.

this has helped me so much you have no idea man. greenfist is a hero. this is what i use on ai units. i put it here so it can be copy+pasted easier into missions.

 

this action ["SwitchWeapon", this, this, -1];

 

  • Like 1

Share this post


Link to post
Share on other sites

Any way to do this for a primary weapon? It works for a player but not for AI.

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  

×