diag allMissionEventHandlers: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (fixed see also) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|game1= | |game1= arma3 | ||
|version1= 2.00 | |||
| | |eff= local | ||
| | |gr1= Diagnostic | ||
| | |gr2= Event Handlers | ||
| | |descr= Returns an array with all [[addMissionEventHandler|mission event handlers]]. | ||
| | |s1= [[diag_allMissionEventHandlers]] | ||
| | |r1= [[Array]] - in format ["EH1name", EH1count, "EH2name", EH2count, ...] | ||
|x1= <sqf> | |||
diag_allMissionEventHandlers; | |||
/* | |||
|x1= < | |||
returns: | returns: | ||
[ | [ | ||
Line 55: | Line 51: | ||
"ExtensionCallback",0 | "ExtensionCallback",0 | ||
] | ] | ||
*/ | |||
</sqf> | |||
|seealso= [[addMissionEventHandler]] [[Arma 3: Event Handlers | |seealso= [[addMissionEventHandler]] [[Arma 3: Mission Event Handlers]] | ||
}} | }} | ||
Latest revision as of 09:27, 6 April 2024
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
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