EVENT CHANGEWEAPON: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Hendricks266 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
EVENT_CHANGEWEAPON is a [[EDuke32_event_list|Game Event]]. | EVENT_CHANGEWEAPON is a [[EDuke32_event_list|Game Event]]. | ||
This [[event]] is | 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' | -1 means 'no weapon'. | ||
[[Category:Events]] | [[Category:Events]] |
Revision as of 20:16, 26 August 2012
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'.