DCS hook onMissionLoadEnd

From DCS World Wiki - Hoggitworld.com


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: