SpawnEntity

Inherits from SpatialEntity

Summary

Constructors

SpawnEntity(other: EntityBusPeer)
SpawnEntity(other: Entity)
SpawnEntity(other: SpatialEntity)

Properties

Name Type
subBus EntityBus
spawnTimer float
spawnCount int
spawnDelay float
teamId TeamId
enabled bool
locationNameSid string
canSpawnMore bool
driverEntryInputValid bool
driverControlled bool
isControlled bool
spawnRequested bool
isAutoSpawnCancelled bool
hasBeenInitialAutoSpawned bool
useFriendZones bool
spawnedControllables ControllableEntity{}
alternatePointIndexOrder int{}

Methods

Method Returns
IsAreaOccupiedByEnemies(position: Vec3, team: TeamId) bool
IsAreaOccupiedByKilledTeamMembers(position: Vec3, team: TeamId) bool

Static members

Name Type
SpawnEntity.typeInfo TypeInformation

Constructors

SpawnEntity

SpawnEntity(other: EntityBusPeer)

Parameters

Name Type Description
other EntityBusPeer

SpawnEntity

SpawnEntity(other: Entity)

Parameters

Name Type Description
other Entity

SpawnEntity

SpawnEntity(other: SpatialEntity)

Parameters

Name Type Description
other SpatialEntity

Properties

subBus

EntityBus

spawnTimer

float

spawnCount

int

spawnDelay

float

teamId

TeamId

enabled

bool

locationNameSid

string

canSpawnMore

bool

driverEntryInputValid

bool

driverControlled

bool

isControlled

bool

spawnRequested

bool

isAutoSpawnCancelled

bool

hasBeenInitialAutoSpawned

bool

useFriendZones

bool

spawnedControllables

ControllableEntity{}

alternatePointIndexOrder

int{}

Methods

IsAreaOccupiedByEnemies

IsAreaOccupiedByEnemies(position: Vec3, team: TeamId): bool

Parameters

Name Type Description
position Vec3
team TeamId

Returns

Type Description
bool

IsAreaOccupiedByKilledTeamMembers

IsAreaOccupiedByKilledTeamMembers(position: Vec3, team: TeamId): bool

Parameters

Name Type Description
position Vec3
team TeamId

Returns

Type Description
bool

Static members

typeInfo

TypeInformation

Last modified January 20, 2025: Add build 20188 changelog (8f1bc53d)