{"name":"setUnitFreefallHeight","operator":null,"title":"setUnitFreefallHeight","type":"command","url":"https://community.bistudio.com/wiki/setUnitFreefallHeight","revid":364759,"updated":"2024-06-07T23:35:13Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.10"}],"since":{"game":"arma3","name":"Arma 3","version":"2.10"},"arma3_since":"2.10","branch":null,"locality":{"argument":"local","effect":"global","server_exec":false},"exec":null,"description":"Sets minimum freefall height AGL per unit, at which the unit assumes HALO pose. Engine default is 100m. Use -1 to reset the height to default.","syntaxes":[{"syntax":"unit setUnitFreefallHeight minHeight","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":"unit","types":["Object"],"since":null,"text":"unit: Object - unit"},{"name":"minHeight","type":"Number","optional":false,"default":null,"description":"min freefall height, -1 to set default","types":["Number"],"since":null,"text":"minHeight: Number - min freefall height, -1 to set default"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"unit","types":["Object"]},"right":{"text":"minHeight","types":["Number"]}}],"examples":[{"text":"```sqf\nplayer setUnitFreefallHeight 1000;\n```","code":["player setUnitFreefallHeight 1000;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["getUnitFreefallInfo","getPosASL","ASLToAGL"],"notes":[{"user":"Hypoxic125","date":"2024-06-07T23:35:13Z","text":"For player units, you must reapply setUnitFreefallHeight upon respawning."}],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Introduced with Arma 3 version 2.10","Scripting Commands","Scripting Commands: Global Effect"]}