mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
21 lines
313 B
Plaintext
21 lines
313 B
Plaintext
|
#include "script_component.hpp"
|
||
|
/*
|
||
|
* Author: Brandon (TCVM)
|
||
|
* Handle key presses
|
||
|
*
|
||
|
* Arguments:
|
||
|
* 0: Key Pressed <NUMBER>
|
||
|
* 1: Down <BOOL>
|
||
|
*
|
||
|
* Return Value:
|
||
|
* None
|
||
|
*
|
||
|
* Example:
|
||
|
* [5, true] call ace_spike_keyDown;
|
||
|
*
|
||
|
* Public: No
|
||
|
*/
|
||
|
params ["_key", "_down"];
|
||
|
|
||
|
_this call FUNC(camera_handleKeyPress);
|