EVENT RESETGOTPICS

From EDukeWiki
Revision as of 12:54, 4 February 2022 by Doom64hunter (talk | contribs) (Document this event.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Event ID player# THISACTOR RETURN
EVENT_RESETGOTPICS -1 -1 0 values

EVENT_RESETGOTPICS is a Misc Event.

The purpose of this event is to allow mods to reset entries in the gotpic array to 0. An entry in the gotpic array is 1 if the tile in question has been observed onscreen by the player.

This is primarily useful for skyboxes, which are rendered in place of the null tile (HOM effect under normal circumstances). This can be set up such that if gotpic for the skybox tilenum is 0, the skybox view is no longer displayed, thus improving performance.