EVENT DISPLAYOVERHEADMAPPLAYER
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. By default, this is an animation that plays between tilerange 1400 to 1402, with the sprite animating while the player is on the ground and moving.
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.