Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 27ms

DB GetPage 4
Generate Html 3
SaveChanges (1) 10
Render Body 0
Render Sidebar 8