From EDukeWiki
Revision as of 23:55, 23 September 2015 by Hendricks266 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

resetplayerflags <flags>

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.

flags is a bitfield. Values:

1 - Don't ask the player if they want to load the most recent save (if applicable)