removeAllEventHandlers (VBS2)
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Virtual Battlespace 2
- Version:
- 1.00
Description
- Description:
- Removes all event handlers of the given type which were added by addEventHandler.
Syntax
- Syntax:
- ehgroup removeAllEventHandlers ehtype
- Parameters:
- ehgroup: Group - Group that has event handlers removed
- ehtype: String - Type of event handlers to remove
- Return Value:
- Nothing
Examples
- Example 1:
(group player) removeAllEventHandlers "WaypointComplete"
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- addEventHandler, removedEventHandler

