Difference between revisions of "getMissionPath"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - " <dl class="command_description"> </dl>" to "")
Line 27: Line 27:
 
| [[missionConfigFile]], [[playSound3D]], [[drawIcon3D]], [[createSimpleObject]], [[description.ext]]
 
| [[missionConfigFile]], [[playSound3D]], [[drawIcon3D]], [[createSimpleObject]], [[description.ext]]
 
}}
 
}}
 
<dl class="command_description">
 
 
</dl>
 

Revision as of 19:21, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
SystemMission Information

Syntax

Syntax:
Syntax needed
Parameters:
filename: String
Return Value:
Return value needed

Examples

Example 1:
// would return e.g "C:\Users\Username\Documents\Arma 3\missions\MissionName.Altis\icons\myIcon.paa" private _path = getMissionPath "icons\myIcon.paa"; private _path = getMissionPath "\icons\myIcon.paa"; // leading \ is also fine
Example 2:
// would return e.g "C:\Users\Username\Documents\Arma 3\missions\MissionName.Altis\" with the trailing \ private _root = getMissionPath "";

Additional Information

See also:
See also needed

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