Arma 3 Scripting

Command in Mission Information

missionName

Also available as Markdown and JSON, or read the original wiki page.

Description

Return currently loaded mission file (path to mission.pbo, relative to game exe).

Syntax

missionName

Returns: String

Examples

Example 1

hint format ["You are playing mission ""%1""", missionName];

See also

missionNameSource · worldName · briefingName · serverName · worldSize

Community notes

.kju

Only works in SP and on the MP Host/DS. It returns the mission pboprefix if available, otherwise the pboname. For clients it returns '__cur_mp'.

Kenoxite

Prior to Operation Flashpoint v1.96 it returns the mission filename. Since Operation Flashpoint v1.99, it returns the briefing name instead when in multiplayer. The string displayed is that set in the Intel section of the mission editor.

NikkoJT

Testing suggests it does now work on clients in the current Arma 3 version.