removeEventHandler

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Operation Flashpoint: Resistance version 1.85

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint: Resistance
Version:
1.85

Description

Description:
Removes event handler added by addEventHandler.

When any handler is removed, all handler indices higher than the deleted one should be decremented.

Syntax

Syntax:
Object removeEventHandler ["EventName", index]
Parameters:
EventName: String
index: Number. Value returned from addEventHandler
Return Value:
Nothing

Examples

Example 1:
player removeEventHandler ["killed", 0]

Additional Information

Multiplayer:
Behaviour unknown.
See also:
removeAllEventHandlers, addEventHandler

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Buy ArmA now!