Difference between revisions of "diag allMissionEventHandlers"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (available on stable now)
m (Text replacement - "_{10,} " to "")
Line 11: Line 11:
  
 
|gr2= Event Handlers |GROUP2=
 
|gr2= Event Handlers |GROUP2=
____________________________________________________________________________________________
 
  
 
|descr= Returns an array with all [[addMissionEventHandler|mission event handlers]]. |Description=
 
|descr= Returns an array with all [[addMissionEventHandler|mission event handlers]]. |Description=
____________________________________________________________________________________________
 
  
 
|s1= [[diag_allMissionEventHandlers]] |Syntax=
 
|s1= [[diag_allMissionEventHandlers]] |Syntax=
  
 
|r1= [[Array]] - in format ["EH1name", EH1count, ...] |Return Value=
 
|r1= [[Array]] - in format ["EH1name", EH1count, ...] |Return Value=
____________________________________________________________________________________________
 
  
 
|x1= <code>[[diag_allMissionEventHandlers]];
 
|x1= <code>[[diag_allMissionEventHandlers]];
Line 56: Line 53:
 
]
 
]
 
<nowiki/>*/}}</code> |Example 1=
 
<nowiki/>*/}}</code> |Example 1=
____________________________________________________________________________________________
 
  
 
|seealso= [[addMissionEventHandler]] [[Arma 3: Event Handlers/addMissionEventHandler|Mission EHs]] |See Also=
 
|seealso= [[addMissionEventHandler]] [[Arma 3: Event Handlers/addMissionEventHandler|Mission EHs]] |See Also=

Revision as of 01:37, 17 January 2021


Hover & click on the images for description

Description

Description:
Returns an array with all mission event handlers.
Groups:
DiagnosisEvent Handlers

Syntax

Syntax:
diag_allMissionEventHandlers
Return Value:
Array - in format ["EH1name", EH1count, ...]

Examples

Example 1:
diag_allMissionEventHandlers; /* returns: [ "Ended",0, "SelectedActionPerformed",0, "SelectedRotorLibActionPerformed",0, "SelectedActionChanged",0, "SelectedRotorLibActionChanged",0, "ControlsShifted",0, "Draw3D",1, "Loaded",0, "HandleDisconnect",0, "EntityRespawned",0, "EntityKilled",0, "MapSingleClick",0, "HCGroupSelectionChanged",0, "CommandModeChanged",0, "PlayerConnected",0, "PlayerDisconnected",0, "TeamSwitch",0, "GroupIconClick",0, "GroupIconOverEnter",0, "GroupIconOverLeave",0, "EachFrame",0, "PreloadStarted",0, "PreloadFinished",0, "Map",0, "PlayerViewChanged",0, "BuildingChanged",0, "MPEnded",0, "HandleAccTime",0, "ExtensionCallback",0 ] */

Additional Information

See also:
addMissionEventHandler Mission EHs

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

Bottom Section