Difference between revisions of "diag allMissionEventHandlers"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Some wiki formatting)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:diag_allMissionEventHandlers}}
 
 
{{RV|type=command
 
{{RV|type=command
  
 
|game1= arma3
 
|game1= arma3
 
 
|version1= 2.00
 
|version1= 2.00
  
 
|eff= local
 
|eff= local
  
|gr1= Diagnosis
+
|gr1= Diagnostic
  
 
|gr2= Event Handlers
 
|gr2= Event Handlers
Line 16: 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 52: 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]]
 
}}
 
}}
 
<dl class="command_description">
 
<!-- BEGIN Note Section -->
 
 
<!-- END Note Section -->
 
</dl>
 

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