Difference between revisions of "diag allMissionEventHandlers"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Some wiki formatting)
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
 
|s1= [[diag_allMissionEventHandlers]]
 
|s1= [[diag_allMissionEventHandlers]]
  
|r1= [[Array]] - in format ["EH1name", EH1count, ...]
+
|r1= [[Array]] - in format ["EH1name", EH1count, "EH2name", EH2count, ...]
  
|x1= <code>[[diag_allMissionEventHandlers]];
+
|x1= <sqf>
{{codecomment|/*
+
diag_allMissionEventHandlers;
 +
/*
 
returns:
 
returns:
 
[
 
[
Line 50: Line 51:
 
"ExtensionCallback",0
 
"ExtensionCallback",0
 
]
 
]
<nowiki/>*/}}</code>
+
*/
 +
</sqf>
  
|seealso= [[addMissionEventHandler]] [[Arma 3: Event Handlers/addMissionEventHandler|Mission EHs]]
+
|seealso= [[addMissionEventHandler]] [[Arma 3: Mission Event Handlers|Mission EHs]]
 
}}
 
}}

Latest revision as of 12:34, 4 May 2022

Hover & click on the images for description

Description

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

Syntax

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

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