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: 23ms

Session 0
DB GetPage 3
Generate Html 4
SaveChanges 8
Render Body 0
Render Sidebar 6