removeUserActionEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation)
 
m (Text replacement - "ctivated"" to "ctivate"")
Line 25: Line 25:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[removeUserActionEventHandler]] ["Reload", "Activated", _reloadUAEH];</code>
|x1= <code>[[removeUserActionEventHandler]] ["Reload", "Activate", _reloadUAEH];</code>


|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]]
}}
}}

Revision as of 20:50, 18 June 2021

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.06.

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

See also:
addUserActionEventHandler removeAllUserActionEventHandlers UserAction Event Handlers

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