removeAllEventHandlers: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Add local effect) |
||
Line 4: | Line 4: | ||
|version1= 1.85 | |version1= 1.85 | ||
|eff= local | |||
|gr1= Event Handlers | |gr1= Event Handlers | ||
Line 22: | Line 24: | ||
}} | }} | ||
[[Category:Scripting Commands OFP 1.96 | [[Category:Scripting Commands OFP 1.96]] | ||
[[Category:Scripting Commands OFP 1.99 | [[Category:Scripting Commands OFP 1.99]] | ||
{{GameCategory|arma1|Scripting Commands}} | {{GameCategory|arma1|Scripting Commands}} | ||
{{GameCategory|arma2|Scripting Commands}} | {{GameCategory|arma2|Scripting Commands}} | ||
{{GameCategory|arma3|Scripting Commands}} | {{GameCategory|arma3|Scripting Commands}} | ||
{{GameCategory|tkoh|Scripting Commands}} | {{GameCategory|tkoh|Scripting Commands}} |
Revision as of 11:36, 12 February 2021
Description
- Description:
- Removes all event handlers of given type that were added by addEventHandler and resets event handler's creation index to 0.
- Groups:
- Event Handlers
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Resistance version 1.85
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Event Handlers
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands