Jump to navigation Jump to search
|EVENT_DISPLAYOVERHEADMAPPLAYER||corr. to overhead sprite||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 cycles through tiles 1400, 1401 and 1402. The animation plays when on_ground is true, and if the player sprite has an xvel > 16.
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.