Resetplayer: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
add early return semantics
Line 2: Line 2:


Reload the map (if in Single Player) and the player loses his inventory. See also [[EVENT_RESETPLAYER]].
Reload the map (if in Single Player) and the player loses his inventory. See also [[EVENT_RESETPLAYER]].
Also if in Single Player mode, execution of subsequent code is halted in a fashion similar to '''[[return]]'''.


[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Player manipulation]]
[[Category:Player manipulation]]

Revision as of 15:38, 10 May 2012

resetplayer

Reload the map (if in Single Player) and the player loses his inventory. See also EVENT_RESETPLAYER.

Also if in Single Player mode, execution of subsequent code is halted in a fashion similar to return.