EVENT DISPLAYROOMSCAMERA: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Document the event
 
mNo edit summary
 
Line 7: Line 7:
[[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.
[[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]]
See also: [[EVENT_DISPLAYROOMS]], [[EVENT_DISPLAYROOMSCAMERATILE]]


[[Category:Events]]
[[Category:Events]]

Latest revision as of 11:11, 4 February 2022

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