missionNameSource: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page creation) |
Lou Montana (talk | contribs) m (Fix old vs non-Eden) |
||
Line 11: | Line 11: | ||
{{Informative | | {{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. | ||
}} | }} | ||
Revision as of 19:37, 5 November 2020
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]]