removeAllEventHandlers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add local effect)
m (Text replacement - "\[\[Category:Scripting Commands OFP 1.[4-9]{2}(\|(\{\{uc:\{\{PAGENAME\}\}\}\}|#))?\]\] " to "")
Line 24: Line 24:
}}
}}


[[Category:Scripting Commands OFP 1.96]]
[[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 00:20, 25 March 2021

Hover & click on the images for description

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

See also:
EventHandlers listremoveEventHandleraddEventHandlerremoveMissionEventHandler

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