{"name":"scudState","title":"scudState","type":"command","url":"https://community.bistudio.com/wiki/scudState","revid":379462,"updated":"2026-10-31T00:09:44Z","groups":["Object Manipulation"],"status":"ok","games":{"ofp":"1.30","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.30","arma3_since":"0.50","description":"Return the current state of given Scud launcher.","syntaxes":[{"syntax":"scudState scudName","params":[{"name":"scudName","type":"Object","type_expr":"Object"}],"returns":{"type":"Number","type_expr":"Number","description":"can be one of:\n- 0 - No activity - 1 - Launch preparation - 2 - Launch prepared - 3 - Ignition - 4 - Launched","text":"Number - can be one of:\n\n- 0 - No activity\n- 1 - Launch preparation\n- 2 - Launch prepared\n- 3 - Ignition\n- 4 - Launched"},"form":"unary","right":{"text":"scudName"}}],"examples":[{"code":["waitUntil { sleep 1; scudState _scud > 2 };\nguba say \"MasterPlanCompletion\";"]}],"see_also":["action","Arma 3: Actions"],"notes":[{"user":"Hardrock","date":"2006-08-04T10:58:00Z","text":"This command checks the scud status (Non-integral values are used to indicate transition between states).\nTo make the scud be upright, launch or cancel launch you need to use actions.\n\n```sqf\nscud1 action [\"scudLaunch\", scud1];    // rise the missile\nscud1 action [\"scudStart\", scud1];    // launch the missile\nscud1 action [\"scudCancel\", scud1];    // down the missile\n```\n\n(Make sure either the scud launcher has a crew inside or you use the game logic to perform actions)."}]}