NextBot/GetRangeSquaredTo

From Garry's Mod
Jump to: navigation, search
 NextBot:GetRangeSquaredTo( )

Description

Returns squared distance to an entity or a position.

See also NextBot:GetRangeTo.

Arguments

Vector to

The position to measure distance to. Can be an entity.

Returns

number

The squared distance
Personal tools
Navigation