{"name":"missionNameSource","operator":null,"title":"missionNameSource","type":"command","url":"https://community.bistudio.com/wiki/missionNameSource","revid":310162,"updated":"2022-05-05T13:07:20Z","groups":["Mission Information"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.02"}],"since":{"game":"arma3","name":"Arma 3","version":"2.02"},"arma3_since":"2.02","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Return workshop-compatible currently loaded mission file (path to mission.pbo, relative to game exe).\n\n> [!NOTE]\n> - missionName will return the Workshop user-friendly mission name, whereas missionNameSource will take the information from mission.sqm.\n> - pre-v2.02 missions may return an empty string.","syntaxes":[{"syntax":"missionNameSource","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"String","types":["String"],"description":null,"text":"String"},"form":"nullary","operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\nhint format [\"You are playing mission \"\"%1\"\"\", missionNameSource];\n```","code":["hint format [\"You are playing mission \"\"%1\"\"\", missionNameSource];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["missionName","worldName","briefingName","serverName","worldSize"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Mission Information","Introduced with Arma 3 version 2.02","Scripting Commands"]}