EVENT DISPLAYACCESS

From EDukeWiki
Jump to navigation Jump to search
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.