missionNameSource: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation)
 
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]].
* old (non-[[Eden Editor]]) missions may return an empty string.
* pre-v2.02 missions may return an empty string.
}}
}}



Revision as of 20:37, 5 November 2020

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 2.01|2.01]]
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:
missionNameworldNamebriefingNameserverNameworldSize

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]]

Notes

Bottom Section