SetCurWeapon


Makes a weapon the current weapon. This tells the engine in which cog to call the activated, fire, and deactivated messages. Syntax:

SetCurWeapon(player, weap_num);

Note that SetCurWeapon() wants a weapon number and not a bin number. For example, if you add a new weapon with bin 116 (0x4 bin flag), you can use SetCurWeapon(player, 11) to select it.