EVENT SELECTWEAPON: Difference between revisions
Jump to navigation
Jump to search
Created page with 'Set gamevar RETURN to -1 and disable any key from selecting an weapon.' |
Doom64hunter (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
Set | {{EventTable|1=EVENT_SELECTWEAPON|2=player that executed the input|3=[[i|player->i]]|4=1 value}} | ||
EVENT_SELECTWEAPON is a [[EDuke32_event_list|Game Event]]. | |||
This [[event]] is called whenever the player selects a weapon through numbers keys, mouse wheel, or other means. | |||
[[RETURN]] is set to the selected weapon number. Set [[RETURN]] to -1 to prevent switching the weapon, or change it to a different number to select a different weapon. | |||
[[Category:Events]] |
Latest revision as of 13:40, 4 February 2022
Event ID | player# | THISACTOR | RETURN | |
---|---|---|---|---|
EVENT_SELECTWEAPON | player that executed the input | player->i | 1 value |
EVENT_SELECTWEAPON is a Game Event.
This event is called whenever the player selects a weapon through numbers keys, mouse wheel, or other means.
RETURN is set to the selected weapon number. Set RETURN to -1 to prevent switching the weapon, or change it to a different number to select a different weapon.