missionNameSource: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |game1= arma3dev |version1= 2.01" to " |game1= arma3 |version1= 2.02")
m (Some wiki formatting)
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 2.02
|version1= 2.02


Line 18: Line 17:
|r1= [[String]]
|r1= [[String]]


|x1= <code>[[hint]] [[format]] ["You are playing mission ""%1""", [[missionNameSource]]];</code>
|x1= <sqf>hint format ["You are playing mission ""%1""", missionNameSource];</sqf>


|seealso= [[missionName]], [[worldName]], [[briefingName]], [[serverName]], [[worldSize]]
|seealso= [[missionName]] [[worldName]] [[briefingName]] [[serverName]] [[worldSize]]
}}
}}

Latest revision as of 15:07, 5 May 2022

Hover & click on the images for description

Description

Description:
Return workshop-compatible currently loaded mission file (path to mission.pbo, relative to game exe).
Groups:
Mission Information

Syntax

Syntax:
missionNameSource
Return Value:
String

Examples

Example 1:
hint format ["You are playing mission ""%1""", missionNameSource];

Additional Information

See also:
missionName worldName briefingName serverName worldSize

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