GoldenEye: Source Forums

Editing and Customization => Modding Help => Topic started by: null on January 20, 2017, 03:21:24 pm

Title: Python Function to remove a single players weapon?
Post by: null on January 20, 2017, 03:21:24 pm
Currently player.StripAllWeapons() is the only function that i know of to remove weapons from players. Is there a way to remove just one weapon without removing another?

Thanks!

Null
Title: Re: Python Function to remove a single players weapon?
Post by: Entropy-Soldier on January 21, 2017, 08:17:29 am
Sadly not at the moment.

What do you want to do?  There might be another way.
Title: Re: Python Function to remove a single players weapon?
Post by: null on January 23, 2017, 11:48:05 am
Thanks for the response,

This is for Arsenal, but if a player has slappers as their active weapon when they level up. They will auto switch to the new weapon instead of staying on the current weapon. I was just looking for alternative ways of switching out weapons without removing slappers too.

Null