EVENT DISPLAYACCESS: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jblade (talk | contribs)
Created page with "EVENT_DISPLAYACCESS is a Game Event. This event is run whenever the keycard animation is played onscreen (by default triggered when using an access car..."
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{EventTable|1=EVENT_DISPLAYACCESS |2=[[screenpeek]]|3=[[i|player->i]]|4=1 value}}
EVENT_DISPLAYACCESS is a [[EDuke32_event_list|Game Event]].
EVENT_DISPLAYACCESS is a [[EDuke32_event_list|Game Event]].


This event is run whenever the keycard animation is played onscreen (by default triggered when using an access card on a keycard slot) Set RETURN to 1 to disable.
This event is run whenever the keycard animation is played onscreen, i.e. when [[access_incs]] is greater than 0 (by default triggered when using an access card on a keycard slot).
 
If RETURN is set to -1, the animation is disabled, and the currently active weapon will still be displayed.
 
If RETURN is set to 1, the animation is disabled, but the weapon will remain hidden until [[access_incs]] is 0.


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

Latest revision as of 10:21, 4 February 2022

Event ID player# THISACTOR RETURN
EVENT_DISPLAYACCESS screenpeek player->i 1 value

EVENT_DISPLAYACCESS is a Game Event.

This event is run whenever the keycard animation is played onscreen, i.e. when access_incs is greater than 0 (by default triggered when using an access card on a keycard slot).

If RETURN is set to -1, the animation is disabled, and the currently active weapon will still be displayed.

If RETURN is set to 1, the animation is disabled, but the weapon will remain hidden until access_incs is 0.