I am having a problem with a weapon swap script I am working on.
I am using waspV2 so there are a couple of commands used from that.
Ok hers the script
;Artificial Intelligence Script
;Header
desc = Weapon Slot 1 (apply to weapon)
;Triggers
:state=0:state=1
:state=1,plrdistwithin=25,scancodekeypressed=18:openweaponslot=1,state=2
:state=2:hideplrweapon,playertake,state=0
This script is asigned to a weapon replacing the default pickup script.
Now heres the problem. The player will go up to the gun and press "E" for the swap. The guns switch fine, but when the switch is made, the new gun is hidden from the HUD until I mousescroll or press "1".
I recently learned to sleep with my eyes open. ..... God am I tired