Arma 3 Scripting

Command in Event Handlers

removeAllUserActionEventHandlers

Also available as Markdown and JSON, or read the original wiki page.

Description

Removes all UserAction event handlers of the given type which were added by addUserActionEventHandler.

Important

This command also resets the Event Handler creation index to 0.

Syntax

removeAllUserActionEventHandlers [keyName, eventType]

Parameters:

Returns: Nothing

Examples

Example 1

removeAllUserActionEventHandlers ["Reload", "Activate"];

See also

addUserActionEventHandler · removeUserActionEventHandler · Arma 3: Event Handlers