NextBot/GetRangeSquaredTo

From Garry's Mod
Revision as of 06:47, 25 January 2018 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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