{"name":"BIS_fnc_boatRack01InitAdjustZOffsets","title":"BIS fnc boatRack01InitAdjustZOffsets","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_boatRack01InitAdjustZOffsets","revid":379549,"updated":"2026-10-31T13:44:53Z","groups":["Boat Recovery"],"status":"ok","games":{"arma3":"1.84"},"since":"arma3 1.84","arma3_since":"1.84","exec":"spawn","description":"Part of the boat recovery system: adjusts the boat rack's cargo bay to a boat that is already loaded on it at mission start.\nIt waits until the rack's simulation is enabled, then, if the rack carries a boat (getVehicleCargo), calls BIS_fnc_boatRack01AdjustZOffset with the first one.\nThe function is spawned by BIS_fnc_boatRack01Init; it is meant for internal use. It does nothing in the Eden Editor or when the boat rack is objNull.","syntaxes":[{"syntax":"[boatRack] spawn BIS_fnc_boatRack01InitAdjustZOffsets","params":[{"name":"boatRack","type":"Object","description":"the boat rack","type_expr":"Object"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[myBoatRack] spawn BIS_fnc_boatRack01InitAdjustZOffsets;"]}],"see_also":["BIS_fnc_boatRack01Init","BIS_fnc_boatRack01AdjustZOffset","getVehicleCargo"]}