unitName removeMPEventHandler [event,index]

Operand types

unitName: Object
[event,index]: Array

Type of returned value

Description

Removes MP event handler added with addMPEventHandler.

Format of handler is [type,index]. Index is returned by addMPEventHandler. When any handler is removed, all handler indices highter than the deleted one should decrement.

Used In

Arma2OA

Example

player removeMPEventHandler ["killed", 0];
Search OFPEC COMREF

Advertisement