inGameUISetEventHandler: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
m (merged "handler" and "name" to "handlerName" so nobody thinks these are 2 parameters) |
||
Line 15: | Line 15: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''inGameUISetEventHandler''' [ | | '''inGameUISetEventHandler''' [handlerName, function] |= Syntax | ||
|p1= [ | |p1= [handlerName, function]: [[Array]] |= Parameter 1 | ||
|p2= | |p2= handlerName: [[String]] |= Parameter 1 | ||
|p3= function: [[String]] |= Parameter 1 | |p3= function: [[String]] |= Parameter 1 | ||
Revision as of 08:59, 6 May 2015
Description
- Description:
- Sets given event handler of in-game UI. If EH function 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 [handlerName, function]
- Parameters:
- [handlerName, function]: Array
- handlerName: String
- function: String
- Return Value:
- Nothing
Examples
- Example 1:
inGameUISetEventHandler ["Action","hint 'Lights, Camera, Action!'; true"];
Additional Information
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