Difference between revisions of "VN fnc revive keyDown"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (1 revision imported) |
Lou Montana (talk | contribs) m (Lou Montana moved page VN fnc revive keydown to VN fnc revive keyDown: name standard) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
|v= 1.00 | |v= 1.00 | ||
− | | | + | |author= Ethan Johnson |
− | |e= | + | |a= local |
+ | |||
+ | |e= local | ||
|g1= advanced_revive_functions | |g1= advanced_revive_functions | ||
− | |d= | + | |d= Key handler for the revive system. See also {{Biki|User_Interface_Event_Handlers#onKeyDown|KeyDown EH}}. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |s= [] call [[ | + | |s= [display, key, shift, ctrl, alt] call [[VN_fnc_revive_keyDown]] |
− | |p1n= | + | |p1n= display |
− | |p1t= | + | |p1t= {{Biki|Display}} or {{Biki|Control}} |
− | |p1d= | + | |p1d= EH display or control, unused |
|p1v= | |p1v= | ||
− | |p2n= | + | |p2n= key |
− | |p2t= | + | |p2t= number |
− | |p2d= | + | |p2d= pressed key |
|p2v= | |p2v= | ||
− | |r1t= | + | |p3n= shift |
− | |r1d= | + | |p3t= boolean |
+ | |p3d= is shift key pressed | ||
+ | |p3v= | ||
+ | |||
+ | |p4n= ctrl | ||
+ | |p4t= boolean | ||
+ | |p4d= is ctrl key pressed | ||
+ | |p4v= | ||
+ | |||
+ | |p5n= alt | ||
+ | |p5t= boolean | ||
+ | |p5d= is alt key pressed | ||
+ | |p5v= | ||
+ | |||
+ | |r1t= boolean | ||
+ | |r1d= {{Biki|true}} to intercept the original key function | ||
− | |x1= <code> | + | |x1= <code>[findDisplay 46, 42, false, false, false] call [[VN_fnc_revive_keyDown]];</code> |
}} | }} |
Latest revision as of 18:19, 30 January 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
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;