Arma 3 Scripting

missionName

  • Arma 3 v0.50
  • First in Operation Flashpoint v1.80

Command · Markdown · JSON · 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.