Arma 3 Scripting

BIS_fnc_boatRack01InitAdjustZOffsets

  • Runs with spawn
  • Arma 3 v1.84

Function · Markdown · JSON · original wiki page

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. It waits until the rack's simulation is enabled, then, if the rack carries a boat (getVehicleCargo), calls BIS_fnc_boatRack01AdjustZOffset with the first one. The 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.

Syntax

[boatRack] spawn BIS_fnc_boatRack01InitAdjustZOffsets

Parameters:

Returns: Nothing

Examples

Example 1

[myBoatRack] spawn BIS_fnc_boatRack01InitAdjustZOffsets;

See also

BIS_fnc_boatRack01Init · BIS_fnc_boatRack01AdjustZOffset · getVehicleCargo