serverStartMission

From Bohemia Interactive Community
Revision as of 20:58, 7 December 2023 by Lou Montana (talk | contribs) (Page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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