NextBot/GetRangeTo

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

Description

Returns the distance to an entity or position.

See also NextBot:GetRangeSquaredTo.

Arguments

Vector to

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

Returns

number

The distance
Personal tools
Navigation