missionNameSource: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|game1= | |game1= arma3 | ||
|version1= 2.02 | |||
|gr1= Mission Information | |||
|gr1= Mission Information | |||
|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 18: | Line 17: | ||
|r1= [[String]] | |r1= [[String]] | ||
|x1= < | |x1= <sqf>hint format ["You are playing mission ""%1""", missionNameSource];</sqf> | ||
|seealso= [[missionName]] | |seealso= [[missionName]] [[worldName]] [[briefingName]] [[serverName]] [[worldSize]] | ||
}} | }} | ||
Latest revision as of 14:07, 5 May 2022
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:
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