removeAllEventHandlers: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add index detail and Category:Command Group: Activators) |
Lou Montana (talk | contribs) m (Fix description) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Removes all event handlers of given type that were added by [[addEventHandler]] '''and''' resets | | Removes all event handlers of given type that were added by [[addEventHandler]] '''and''' resets event handler's creation index to 0. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 19:31, 28 April 2020
Description
- Description:
- Removes all event handlers of given type that were added by addEventHandler and resets event handler's creation index to 0.
- Groups:
- Uncategorised
Syntax
- Syntax:
- objectName removeAllEventHandlers handlerType
- Parameters:
- objectName: Object
- handlerType: String - see Event Handlers
- Return Value:
- Nothing
Examples
- Example 1:
player removeAllEventHandlers "Killed";
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
Bottom Section
Categories:
- Scripting Commands
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Introduced with Operation Flashpoint: Resistance version 1.85
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands Arma 2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: Activators