removeAllEventHandlers

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 all event handlers of given type that were added by addEventHandler. Since VBS2 v1.24 can be applied on individual weapon rounds.

Syntax

Syntax:
objectName removeAllEventHandlers handlerType
Parameters:
objectName: Object
handlerType: String - See Event Handlers for list
Return Value:
Nothing

Examples

Example 1:
player removeAllEventHandlers "killed";

Additional Information

Multiplayer:
-
See also:
EventHandlers listremoveEventHandleraddEventHandler

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