Arma 3 Scripting

removeMPEventHandler

  • Global argument
  • Global effect
  • Arma 3 v0.50
  • First in Arma 2: Operation Arrowhead v1.55

Command · also in Event Handlers · Markdown · JSON · original wiki page

Description

Removes MP event handler added by addMPEventHandler.

Syntax

unitName removeMPEventHandler [event, index]

Parameters:

Returns: Nothing

Examples

Example 1

player removeMPEventHandler ["MPKilled", 0];

See also

addMPEventHandler · removeAllMPEventHandlers

Community notes

.kju

At least for MPKilled it needs to be executed where the target unit is local. The effect (the removal) is global.