missionNameSource: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ") |
Lou Montana (talk | contribs) |
||
Line 19: | Line 19: | ||
|x1= <code>[[hint]] [[format]] ["You are playing mission ""%1""", [[missionNameSource]]];</code> | |x1= <code>[[hint]] [[format]] ["You are playing mission ""%1""", [[missionNameSource]]];</code> | ||
|seealso= [[missionName]] | |seealso= [[missionName]] [[worldName]], [[briefingName]], [[serverName]], [[worldSize]] | ||
}} | }} |
Revision as of 16:44, 20 January 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:
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