EVENT USENIGHTVISION

From EDukeWiki
Jump to navigation Jump to search
Event ID player# THISACTOR RETURN
EVENT_USENIGHTVISION player that executed the input player->i 1 value

EVENT_USENIGHTVISION is a Game Event.

This event is called when the player presses the key assigned to toggle Night Vision Goggles on and off (N key by default).

Set gamevar RETURN to any non-zero value to ignore the key.