Garry's Mod Wiki

ents.FindInSphere

table ents.FindInSphere( Vector origin, number radius )

Description

Gets all entities within the specified sphere.

Clientside entities will not be returned by this function.

Arguments

1 Vector origin
Center of the sphere.
2 number radius
Radius of the sphere.

Returns

1 table
A table of all found Entitys. Has a limit of 1024 entities.

Page Links


Special Pages


Wikis

?

Render Time: 36ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 10
Render Body 0
Render Sidebar 17