Warning: file_put_contents(/ff_8fd1a4ed5cc87d75a83729df7b2e0130eaa351a9d6e4051f.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
displayAddEventHandler - OFPEC Scripting Command Reference | OFPEC The Editing Center

displayName displayAddEventHandler [handler name, function]

Operand types

displayName: Display
[handler name, function]: Array

Type of returned value

Description

Add an event handler to the given display.
Returns id of the handler or -1 when failed.

Used In

Arma2

Example

_id = _display displayAddEventHandler ["KeyDown", ""]

Advertisement