serverStartMission

From Bohemia Interactive Community
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Start the provided mission (if it exists) on a dedicated server.
Multiplayer:
Only works on a dedicated server.
Groups:
Argo

Syntax

Syntax:
serverStartMission missionName
Parameters:
missionName: String - mission name with terrain extension
Return Value:
Boolean - true if the mission could be started on a dedicated server, false otherwise

Examples

Example 1:
if (!isServer) exitWith {}; if (isDedicated) then { serverStartMission "TestMission.Malden"; } else // hasInterface { hint "You must choose a mission now."; };

Additional Information

See also:
playMission playScriptedMission

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