{"name":"resetSubgroupDirection","operator":null,"title":"resetSubgroupDirection","type":"command","url":"https://community.bistudio.com/wiki/resetSubgroupDirection","revid":321292,"updated":"2022-05-13T19:08:11Z","groups":["Groups"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma3","name":"Arma 3","version":"0.50"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Sets formation direction of a group relative to current direction of the group leader. The group units will change their positions to form new formation if new formation direction is different (approx +/- 15 degrees). Does the same as:\n\n```sqf\n_grp setFormDir getDir leader _grp;\n```","syntaxes":[{"syntax":"resetSubgroupDirection unit","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":"any member of the Group","types":["Object"],"since":null,"text":"unit: Object - any member of the Group"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"unit","types":["Object"]}}],"examples":[{"text":"```sqf\nresetSubgroupDirection myUnit;\n```","code":["resetSubgroupDirection myUnit;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setFormDir","group","leader","formation","formationLeader","formationMembers","formationTask","formationDirection","formationPosition"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Groups","Introduced with Arma 3 version 0.50","Scripting Commands"]}