inGameUISetEventHandler: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (now fires on action context) |
Waffle SS. (talk | contribs) m (local effect) |
||
Line 3: | Line 3: | ||
| arma |= Game name | | arma |= Game name | ||
|1.00|= Game version | |1.00|= Game version | ||
|eff= local|= Effects in MP | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 23:38, 7 July 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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands ArmA
- Command Group: GUI Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Broken Scripting Commands