removeAllEventHandlers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 9: Line 9:


|1.85|Game version=
|1.85|Game version=
|gr1 = Event Handlers |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 41: Line 43:
[[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:_Event_Handlers|{{uc:{{PAGENAME}}}}]]

Revision as of 14:20, 18 September 2020


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

Notes

Bottom Section