ents/FindInCone

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Was not able to get it to work. Arguments false? How is this supposed to work? Garry?)
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=FindInCone
 
|Parent=ents
 
 
|Description=Gets all entities within the specified cone.
 
|Description=Gets all entities within the specified cone.
 +
{{Stub}}
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=No
 
|IsClass=No
 +
|Name=FindInCone
 +
|Parent=ents
 
}}
 
}}
 
{{Arg
 
{{Arg

Revision as of 01:40, 17 August 2015

 ents.FindInCone( )

Contents

Description

Gets all entities within the specified cone.

This article is a stub.
Please help the Garry's Mod wiki by adding to it.

Arguments

Vector origin

The "tip" of the cone.

Arguments

Vector normal

Direction of the code.

Arguments

number radius

Height of the cone.

Arguments

number angle

The angle of the cone.

Returns

table

A table of all found entities
Personal tools
Navigation