DCS hook onMissionLoadBegin

From DCS World Wiki - Hoggitworld.com


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


Return Value: nothing
Return Actions:
Examples: Saves the current mission name to a global value.
  function myCall.onMissionLoadBegin()
     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: