EVENT RESETPLAYER: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Doom64hunter (talk | contribs) mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{EventTable|1=EVENT_RESETPLAYER|2=player being reset|3=[[i|player->i]]|4=0 values}} | |||
EVENT_RESETPLAYER is a [[EDuke32_event_list|Game Event]]. | EVENT_RESETPLAYER is a [[EDuke32_event_list|Game Event]]. | ||
This [[event]] is called when the command [[resetplayer]] is used or | 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]] | |||
[[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