VN_fnc_revive_keyDown

From Savage Game Design Wiki
Revision as of 18:19, 30 January 2021 by Lou Montana (talk | contribs) (Page filling)
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): local
Effect(s): local

Description

Key handler for the revive system. See also KeyDown EH.

Syntax

Syntax
[display, key, shift, ctrl, alt] call VN_fnc_revive_keyDown
Parameters
display: Display or Control - EH display or control, unused
key: Number - pressed key
shift: Boolean - is shift key pressed
ctrl: Boolean - is ctrl key pressed
alt: Boolean - is alt key pressed
Return value
Boolean - true to intercept the original key function

Examples

Example 1
[findDisplay 46, 42, false, false, false] call VN_fnc_revive_keyDown;