inGameUISetEventHandler

From Bohemia Interactive Community
Revision as of 17:58, 21 January 2015 by Killzone Kid (talk | contribs) (Description)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Sets given event handler of in-game UI. If EH code returns true, performed action is overridden. Event handlers available are:
  • "PrevAction" - mouse scroll up
  • "Action" - action key press
  • "NextAction" - mouse scroll down
Groups:
Uncategorised

Syntax

Syntax:
inGameUISetEventHandler [handler name, function]
Parameters:
[handler name, function]: Array
handler name: String
function: String
Return Value:
Nothing

Examples

Example 1:
inGameUISetEventHandler ["Action","hint 'Lights, Camera, Action!'; true"];

Additional Information

See also:
addEventHandlerctrlAddEventHandlerdisplayAddEventHandler

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section