removeUserActionEventHandler: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page creation) |
Lou Montana (talk | contribs) m (Text replacement - "\] +\[" to "] [") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.06 | |version1= 2.06 | ||
|eff= local | |eff= local | ||
Line 12: | Line 10: | ||
|descr= Removes a UserAction event handler. For a list of available UserAction event handlers, see: [[Arma 3: Mission Event Handlers]]. | |descr= Removes a UserAction event handler. For a list of available UserAction event handlers, see: [[Arma 3: Mission Event Handlers]]. | ||
|s1= [[removeUserActionEventHandler]] | |s1= [[removeUserActionEventHandler]] [keyName, event, index] | ||
|p1= keyName: [[String]] - action key name | |p1= keyName: [[String]] - action key name; see [[inputAction/actions]] | ||
|p2= event: [[String]] - event name - see [[Arma 3: Event Handlers#UserAction Event Handlers|UserAction Event Handlers]]. Can be one of: | |p2= event: [[String]] - event name - see [[Arma 3: Event Handlers#UserAction Event Handlers|UserAction Event Handlers]]. Can be one of: | ||
Line 25: | Line 23: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>removeUserActionEventHandler ["Reload", "Activate", _reloadUAEH];</sqf> | ||
|seealso= [[addUserActionEventHandler]] [[removeAllUserActionEventHandlers]] [[Arma 3: Event Handlers#UserAction Event Handlers|UserAction Event Handlers]] | |seealso= [[addUserActionEventHandler]] [[removeAllUserActionEventHandlers]] [[Arma 3: Event Handlers#UserAction Event Handlers|UserAction Event Handlers]] | ||
}} | }} |
Latest revision as of 11:46, 5 May 2024
Description
- Description:
- Removes a UserAction event handler. For a list of available UserAction event handlers, see: Arma 3: Mission Event Handlers.
- Groups:
- Event Handlers
Syntax
- Syntax:
- removeUserActionEventHandler [keyName, event, index]
- Parameters:
- keyName: String - action key name; see inputAction/actions
- event: String - event name - see UserAction Event Handlers. Can be one of:
- "Activate"
- "Deactivate"
- "Analog"
- index: Number - index returned by addUserActionEventHandler
- Return Value:
- Nothing
Examples
- Example 1:
- removeUserActionEventHandler ["Reload", "Activate", _reloadUAEH];
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