missionNameSource: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
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 01:09, 7 February 2021

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