Jump to content

Last full weapon

From EDukeWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

last_full_weapon is set to the currently selected weapon when the player attempts to switch to a new weapon. This is used so that the game can determine which weapon to switch back to in the event that the player attempts to switch to a weapon that is out of ammo. It is initialized to zero when a map is loaded.

See WEAPON for the list of weapon IDs.