Garry's Mod Wiki

NextBot:GetRangeSquaredTo

NextBot:GetRangeSquaredTo

number NextBot:GetRangeSquaredTo( Vector to )

Description

Returns squared distance to an entity or a position.

See also NextBot:GetRangeTo.

Arguments

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

Returns

1 number
The squared distance

Special Pages


Wikis

?

Render Time: 57ms

DB GetPage 38
Generate Html 4
SaveChanges (1) 6
Render Body 0
Render Sidebar 6