Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:3.7

Description

Description:Returns the vertical offset for swimming units, which was defined in its configuration parameter unitBuoyancyOffset, or overwritten by setUnitBuoyancyOffset.

Syntax

Syntax:getUnitBuoyancyOffset unit
Parameters:
Return Value:Number - The defined offset (in meters).

Examples

Examples:
_offset = getUnitBuoyancyOffset player

Additional Information

See also: setUnitBuoyancyOffset
Multiplayer: 
Problems: 

Notes