EVENT DISPLAYROOMSCAMERA

From EDukeWiki
Revision as of 11:11, 4 February 2022 by Doom64hunter (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Event ID player# THISACTOR RETURN
EVENT_DISPLAYROOMSCAMERA myconnectindex camerasprite 1 value

EVENT_DISPLAYROOMSCAMERA is a Game Event.

This event is triggered once every frame when the demo camera is active, just before the level geometry and sprites are rendered.

RETURN is set to 0 by default. Set RETURN to 1 to disable rendering of rooms when the camera sprite is active. Any values other than 0 or 1 are rejected.

See also: EVENT_DISPLAYROOMS, EVENT_DISPLAYROOMSCAMERATILE