Garry's Mod Wiki

NextBot:GetRangeTo

number NextBot:GetRangeTo( Vector to )

Description

Returns the distance to an entity or position.

See also NextBot:GetRangeSquaredTo.

Arguments

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

Returns

1 number
The distance

Page Links


Special Pages


Wikis

?

Render Time: 34ms

DB GetPage 6
Generate Html 3
SaveChanges (1) 11
Render Body 0
Render Sidebar 12