swiftlys2/docs/api/releases/features/ai/

Entity Data

versions
Counter-Strike 2›CEnvEntityMaker

CEnvEntityMaker

entity data
designer name: env_entity_maker
Members (5)
EntityTemplate:string
PostSpawnDirection:matrix3x4_worldspace
PostSpawnDirectionVariance:float
PostSpawnSpeed:float
PostSpawnInheritAngles:boolean
Inputs (4)
SpawnEntity() -> void
raw: SpawnEntityFromScript
Create an entity at the location of the maker
SpawnEntityAtEntityOrigin(hscript) -> void
raw: SpawnEntityAtEntityOriginFromScript
Create an entity at the location of a specified entity instance
SpawnEntityAtNamedEntityOrigin(cstring) -> void
raw: SpawnEntityAtNamedEntityOriginFromScript
Create an entity at the location of a named entity
SpawnEntityAtLocation(position_vector, vector) -> void
raw: SpawnEntityAtLocationFromScript
Create an entity at a specified location and orientaton, orientation is Euler angle in degrees (pitch, yaw, roll)
Outputs (2)
pOutputOnSpawned
pOutputOnFailedSpawn
Think Functions (1)
CEnvEntityMakerCheckSpawnThink