missionNameSource: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|") |
||
Line 9: | Line 9: | ||
|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. |
Revision as of 00:09, 7 February 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
[[Category:Introduced with arma3dev version 2.01]][[ Category: arma3dev: New Scripting Commands | MISSIONNAMESOURCE]][[ Category: arma3dev: Scripting Commands | MISSIONNAMESOURCE]]