{"name":"missileState","operator":null,"title":"missileState","type":"command","url":"https://community.bistudio.com/wiki/missileState","revid":377694,"updated":"2026-01-02T09:03:16Z","groups":["Weapons"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.18"}],"since":{"game":"arma3","name":"Arma 3","version":"2.18"},"arma3_since":"2.18","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Get the provided *guided* missile's engine, target lock and flight profile states.","syntaxes":[{"syntax":"missileState munition","since":null,"effect":null,"exec":null,"params":[{"name":"munition","type":"Object","optional":false,"default":null,"description":"missile","types":["Object"],"since":null,"text":"munition: Object - missile"}],"returns":{"type":"Array with [engineState, lockState, flightState]","types":["Array"],"description":"engineState: String - one of \"INIT\", \"THRUST\", \"FLY\" or \"\" - lockState: String - one of \"MANUAL\", \"LOCKED\", \"LOST\", \"INITIAL\", \"SEEKING\" or \"\" - flightState: String - one of \"DEFAULT\", \"DIRECT\", \"TOPDOWN\", \"LOALDISTANCE\", \"LOALALTITUDE\", \"OVERFLY\", \"CRUISE\" or \"\" (LOAL stands for \"Lock-On After Launch\")","text":"Array with [engineState, lockState, flightState]\n- engineState: String - one of \"INIT\", \"THRUST\", \"FLY\" or \"\"\n- lockState: String - one of \"MANUAL\", \"LOCKED\", \"LOST\", \"INITIAL\", \"SEEKING\" or \"\"\n- flightState: String - one of \"DEFAULT\", \"DIRECT\", \"TOPDOWN\", \"LOALDISTANCE\", \"LOALALTITUDE\", \"OVERFLY\", \"CRUISE\" or \"\" (LOAL stands for \"Lock-On After Launch\")"},"form":"unary","operator":null,"left":null,"right":{"text":"munition","types":["Object"]}}],"examples":[{"text":"```sqf\nmissileState _myMissile params [\"_engineState\", \"_lockState\", \"_flightState\"];\n```","code":["missileState _myMissile params [\"_engineState\", \"_lockState\", \"_flightState\"];"]},{"text":"```sqf\n_myHelicopter addEventHandler [\"Fired\", {\n    private _projectile = _this select 6;\n    // or params [\"\", \"\", \"\", \"\", \"\", \"\", \"_projectile\"];\n    systemChat str missileState _projectile;\n}];\n```","code":["_myHelicopter addEventHandler [\"Fired\", {\n\tprivate _projectile = _this select 6;\n\t// or params [\"\", \"\", \"\", \"\", \"\", \"\", \"_projectile\"];\n\tsystemChat str missileState _projectile;\n}];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["missileTargetPos","setMissileTargetPos","setMissileTarget","missileTarget"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Weapons","Introduced with Arma 3 version 2.18","Scripting Commands"]}