DCS hook onMissionLoadEnd

From DCS World Wiki - Hoggitworld.com
Revision as of 23:50, 14 May 2021 by Grimes (talk | contribs) (Created page with "{{Template:DCS_hooks_callbacks |fName= onMissionLoadEnd |vNum= 2.5.0 |par1= hook |par2= |par3= |par4= |desc= Occurs when a server finishes loadin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Envrioment: Server
Function: onMissionLoadEnd Added with: 2.5.0
Member Of: hook
Syntax: nothing hook.onMissionLoadEnd( )
Description: Occurs when a server finishes loading a mission.


Return Value: nothing
Return Actions:
Examples: Saves the current mission name to a global value once the mission is finally loaded.
  function myCall.onMissionLoadEnd()
     current_mission = DCS.getMissionName()
  end
Related Functions: List of Callbacks: onMissionLoadBegin, onMissionLoadProgress, onMissionLoadEnd, onSimulationStart, onSimulationStop, onSimulationFrame, onSimulationPause, onSimulationResume, onGameEvent, onNetConnect, onNetMissionChanged, onNetConnect, onNetDisconnect, onPlayerConnect, onPlayerDisconnect, onPlayerStart, onPlayerStop, onPlayerChangeSlot, onPlayerTryConnect, onPlayerTrySendChat, onPlayerTryChangeSlot
Notes: