removeAllEventHandlers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
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|REMOVEALLEVENTHANDLERS]]
[[Category:Scripting Commands OFP 1.96]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[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

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