removeAllEventHandlers: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Remove misleading VBS info.) |
Lou Montana (talk | contribs) m (Add index detail and Category:Command Group: Activators) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Removes all event handlers of given type that were added by [[addEventHandler]]. |DESCRIPTION= | | Removes all event handlers of given type that were added by [[addEventHandler]] '''and''' resets Event Handler index to 0. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 18: | Line 18: | ||
|p1= objectName: [[Object]] | |p1= objectName: [[Object]] | ||
|p2= handlerType: [[String]] - | |p2= handlerType: [[String]] - see [[:Category:Event Handlers|Event Handlers]] | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[player]] [[removeAllEventHandlers]] " | |x1= <code>[[player]] [[removeAllEventHandlers]] "Killed";</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 41: | Line 41: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command Group: Activators]] |
Revision as of 19:30, 28 April 2020
Description
- Description:
- Removes all event handlers of given type that were added by addEventHandler and resets Event Handler 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