removeEventHandler

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with 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:
objectName removeEventHandler [type, index]
Parameters:
objectName: Object
[type, index]: Array
type: String
index: Number. Value returned from addEventHandler
Return Value:
Nothing

Examples

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

Additional Information

Multiplayer:
-
See also:
EventHandlers listremoveAllEventHandlersaddEventHandler

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section