missionNameSource: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ") |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|game1= | |game1= arma3 | ||
|version1= 2.02 | |||
|version1= 2. | |||
|gr1= Mission Information | |gr1= Mission Information | ||
Line 9: | Line 8: | ||
|descr= Return workshop-compatible currently loaded mission file (path to mission.pbo, relative to game exe). | |descr= Return workshop-compatible currently loaded mission file (path to mission.pbo, relative to game exe). | ||
{{Informative | | {{Feature | Informative | | ||
* [[missionName]] will return the Workshop user-friendly mission name, whereas [[missionNameSource]] will take the information from [[Mission.sqm|mission.sqm]]. | * [[missionName]] will return the Workshop user-friendly mission name, whereas [[missionNameSource]] will take the information from [[Mission.sqm|mission.sqm]]. | ||
* pre-v2.02 missions may return an empty string. | * pre-v2.02 missions may return an empty string. | ||
Line 22: | Line 21: | ||
|seealso= [[missionName]], [[worldName]], [[briefingName]], [[serverName]], [[worldSize]] | |seealso= [[missionName]], [[worldName]], [[briefingName]], [[serverName]], [[worldSize]] | ||
}} | }} | ||
Revision as of 16:51, 3 May 2021
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
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