EVENT DISPLAYOVERHEADMAPPLAYER

From EDukeWiki
Revision as of 09:56, 4 February 2022 by Doom64hunter (talk | contribs) (Document the event. This event determines the tile of the player on the overhead map display.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Event ID player# THISACTOR RETURN
EVENT_DISPLAYOVERHEADMAPPLAYER screenpeek player->i 1 value

EVENT_DISPLAYOVERHEADMAPPLAYER is a Game Event.

This event is executed once for each player sprite that is present on the overhead map. Other players are only visible if the gametype flag GAMETYPE_OTHERPLAYERSINMAP is set.

RETURN is set to the current player overhead tilenum. Change RETURN to alter the tile that is displayed for the current player on the automap, or set it to -1 to disable the display of the sprite entirely.