EVENT RESETPLAYER

From EDukeWiki
Revision as of 11:23, 5 February 2022 by Doom64hunter (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Event ID player# THISACTOR RETURN
EVENT_RESETPLAYER player being reset player->i 0 values

EVENT_RESETPLAYER is a Game Event.

This event is called when the command resetplayer is used, when a player respawns in multiplayer, when a new map starts or if the player restarts the map.

The event is executed after all player variables and struct members have been reset to their defaults.

See also: EVENT_INVENTORY, EVENT_RESETINVENTORY