Resetplayer - EDukeWiki

# Resetplayer

From EDukeWiki
(Redirected from Resetplayerflags)

resetplayer
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)

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Resetplayer&oldid=12253"
Categories:

- Duke3D 1.3/1.5 commands
- Player manipulation