EVENT RESETPLAYER: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 5: Line 5:


The event is executed '''after''' all player variables and struct members have been reset to their defaults.
The event is executed '''after''' all player variables and struct members have been reset to their defaults.
See also: [[EVENT_INVENTORY]], [[EVENT_RESETINVENTORY]]


[[Category:Events]]
[[Category:Events]]

Latest revision as of 11:23, 5 February 2022

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