removeAllEventHandlers: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| ofpr | |game1= ofpr | ||
|1.85 | |version1= 1.85 | ||
|gr1 = Event Handlers | |gr1= Event Handlers | ||
| Removes all event handlers of given type that were added by [[addEventHandler]] '''and''' resets event handler's creation index to 0. | |descr= Removes all event handlers of given type that were added by [[addEventHandler]] '''and''' resets event handler's creation index to 0. | ||
| objectName [[removeAllEventHandlers]] handlerType | |s1= objectName [[removeAllEventHandlers]] handlerType | ||
|p1= objectName: [[Object]] | |p1= objectName: [[Object]] | ||
Line 19: | Line 15: | ||
|p2= handlerType: [[String]] - see [[:Category:Event Handlers|Event Handlers]] | |p2= handlerType: [[String]] - see [[:Category:Event Handlers|Event Handlers]] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>[[player]] [[removeAllEventHandlers]] "Killed";</code> | |x1= <code>[[player]] [[removeAllEventHandlers]] "Killed";</code> | ||
| [[:Category:Event Handlers|EventHandlers list]], [[removeEventHandler]], [[addEventHandler]], [[removeMissionEventHandler]] | |seealso= [[:Category:Event Handlers|EventHandlers list]], [[removeEventHandler]], [[addEventHandler]], [[removeMissionEventHandler]] | ||
}} | }} | ||
[[Category:Scripting Commands OFP 1.96|REMOVEALLEVENTHANDLERS]] | |||
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | ||
{{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 00:09, 1 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 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