Difference between revisions of "DCS func load mission"

From DCS World Wiki - Hoggitworld.com
 
Line 5: Line 5:
 
|vNum= 2.5.0
 
|vNum= 2.5.0
  
|par1= [[DCS_server_gameGUI|net (gameGUI)]]
+
|par1= [[DCS_server_gameGUI|net]]
  
 
|par2=  
 
|par2=  

Latest revision as of 22:13, 3 July 2023


Environment: Server
Function: load_mission Added with: 2.5.0
Member Of: net
Syntax: boolean net.load_mission(string fileName )
Description: Loads the specified mission.


Return Value: boolean
Return Example:
Examples: Loads a mission from your saved games/missions folder.
   net.load_mission(lfs.writeDir() .. 'Missions\\' .. 'MyTotallyAwesomeMission.miz'
Related Functions: Network API: send_chat, send_chat_to, recv_chat, load_mission, load_next_mission, get_player_list, get_my_player_id, get_server_id, get_player_info, kick, get_stat, get_name, get_slot, set_slot, force_player_slot, lua2json, json2lua, dostring_in, log, trace
Notes: