EVENT CHANGEWEAPON - EDukeWiki

# EVENT CHANGEWEAPON

From EDukeWiki

EVENT_CHANGEWEAPON is a Game Event.

This event is run when the player is changing weapons.

RETURN holds the value of the weapon the game is about to switch to. You can change the value to redirect the switch, or disable it by setting a value of -1. You can find the value of the weapon the player is currently holding in WEAPON and curr_weapon.

-1 means 'no weapon'.

Retrieved from "http://wiki.eduke32.com/w/index.php?title=EVENT_CHANGEWEAPON&oldid=11143"
Category:

- Events