playScriptedMission: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Killzone Kid (talk | contribs) (params) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''playScriptedMission''' [world,expression,config] |= Syntax | | '''playScriptedMission''' [world,expression,config,ignoreChildWindow] |= Syntax | ||
|p1= [world,expression,config]: Array - |= PARAMETER1 | |p1= [world,expression,config,ignoreChildWindow]: [[Array]] - |= PARAMETER1 | ||
|p2= |= PARAMETER2 | |p2= world: [[String]] |= PARAMETER2 | ||
|p3= |= PARAMETER3 | |p3= expression: [[Code]] |= PARAMETER3 | ||
|p4= config (Optional): [[Config]]|= PARAMETER3 | |||
|p5= ignoreChildWindow (Optional): [[Boolean]] |= PARAMETER3 | |||
| [[Nothing]] |= RETURNVALUE | | [[Nothing]] |= RETURNVALUE |
Revision as of 14:36, 28 April 2015
Description
- Description:
- Load the given world,launch an empty mission and execute the given,expression. Config (optional) can reference to the config entry,replacing description.ext for this mission.
- Groups:
- Uncategorised
Syntax
- Syntax:
- playScriptedMission [world,expression,config,ignoreChildWindow]
- Parameters:
- [world,expression,config,ignoreChildWindow]: Array -
- world: String
- expression: Code
- config (Optional): Config
- ignoreChildWindow (Optional): Boolean
- Return Value:
- Nothing
Examples
- Example 1:
playScriptedMission [ "desert_e", { private["_handle"]; _handle = execVM "\ca\missions_e\data\scenes\credits1\init.sqf"; }, configFile/"CfgMissions"/"Cutscenes"/"Credits" ];
Additional Information
- See also:
- hostMissionplayMission
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
Notes
-
playScriptedMission ["Chernarus",{},missionConfigFile];
Does not work.