load3DENScenario: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (2.16 -> 2.18)
(added Example 3)
 
Line 19: Line 19:


|x2= <sqf>load3DENScenario "Stratis";</sqf>
|x2= <sqf>load3DENScenario "Stratis";</sqf>
|x3= <sqf>
//For a scenario located at ...\Arma 3 - Other Profiles\<PROFILENAME>\missions\subfolder\myMission.VR
//full path needs to be provided without leading \
load3DENScenario "missions\subfolder\myMission.VR";
</sqf>


|seealso= [[is3DENPreview]]
|seealso= [[is3DENPreview]]
}}
}}

Latest revision as of 18:52, 8 March 2024

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.18.

Description

Description:
Load the provided scenario or an empty scenario in the provided world.
Groups:
Eden Editor

Syntax

Syntax:
load3DENScenario scenarioOrWorld
Parameters:
scenarioOrWorld: String - scenario name or world name
Return Value:
Boolean - true on success, false otherwise

Examples

Example 1:
load3DENScenario "MyMission.VR";
Example 2:
load3DENScenario "Stratis";
Example 3:
//For a scenario located at ...\Arma 3 - Other Profiles\<PROFILENAME>\missions\subfolder\myMission.VR //full path needs to be provided without leading \ load3DENScenario "missions\subfolder\myMission.VR";

Additional Information

See also:
is3DENPreview

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