COG Verb - 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); 

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.

  • Create:
This page was last modified 23:19, 2 April 2006.   This page has been accessed 222 times.