{"name":"setUnitPosWeak","title":"setUnitPosWeak","type":"command","url":"https://community.bistudio.com/wiki/setUnitPosWeak","revid":369195,"updated":"2024-09-03T10:34:47Z","groups":["Unit Control"],"status":"ok","games":{"arma1":"1.04","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.04","arma3_since":"0.50","locality":{"argument":"local","effect":"global"},"description":"Set unit position rules. This command is the lowest level of priority for setting unit position and to be used in scripted\nFSM's. Priorities are:\n\n1. Unit pos commanded (from the commanding menu, higher priority).\n1. Unit pos scripted (from setUnitPos scripting command, medium priority).\n1. Unit pos FSM / **setUnitPosWeak** (used in the formation FSM, lowest priority).","syntaxes":[{"syntax":"unit setUnitPosWeak mode","params":[{"name":"unit","type":"Object","type_expr":"Object"},{"name":"mode","type":"String","description":"can be:\n\n- \"DOWN\" - Unit goes prone and stays prone.\n- \"UP\" - Unit stands and stays standing.\n- \"MIDDLE\" - Kneel Position. Armed Assault v1.04 - Unit will not kneel if it is unarmed\n- \"AUTO\" - Unit chooses mode according to circumstances.","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unit"},"right":{"text":"mode"}}],"examples":[{"code":["_soldier disableAI \"FSM\";\n_soldier setUnitPosWeak \"DOWN\";"]}],"see_also":["FSM","doFSM","setUnitPos","unitPos"]}