diag allMissionEventHandlers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *gr([0-9]) *= *Diagnosis * " to "|gr$1= Diagnostic ")
m (fixed see also)
 
(3 intermediate revisions by one other user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 2.00
|version1= 2.00


Line 15: 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 51: 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]]
}}
}}

Latest revision as of 09:27, 6 April 2024

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 Arma 3: Mission Event Handlers

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