core.libraries.thirdparty.niknaks.modules.sh_bsp_entities
(no description)
Functions
FindByClass(class)
View source »Returns a list of entity data, matching the class.
Parameters
-
class
string
Returns
FindByModel(model)
View source »Returns a list of entity data, matching the model.
Parameters
-
model
string
Returns
FindByName(name)
View source »Returns a list of entity data, matching the name ( targetname ).
Parameters
-
name
string
Returns
FindInBox(boxMins, boxMaxs)
View source »Returns a list of entity data, within the specified box. Note: This (I think) is slower than ents.FindInBox
Parameters
-
boxMins
Vector
-
boxMaxs
Vector
Returns
FindInSphere(origin, radius)
View source »Returns a list of entity data, within the specified sphere. Note: This (I think) is slower than ents.FindInSphere
Parameters
-
origin
Vector
-
radius
number
GetEntities()
View source »Returns a list of all raw-entity data within the BSP.
Returns
GetEntity(index)
View source »Returns the raw entity data said entity.
Parameters
-
index
number
Returns
Tables
EntityObject
View source »Incomplete
Documentation for this section is incomplete and needs expanding.
Fields
-
origin
Vector
optional
-
angles
Angle
optional
-
rendercolor
Color
optional
-
ontrigger
table
optional
-
classname
string
optional
-
model
string
optional
-
targetname
string
optional
-
world_mins
string
optional
-
world_maxs
string
optional
-
scale
number
optional
-
coldworld
number
optional