Sonolus Wiki

Entity Info

Entity Info block contains state information of the entity.

Identifier

const EntityInfoId = 20

Values

IndexInitial ValueDescription
0?Index of the entity
1?Archetype of the entity
2?State of the entity: 0 = Waiting, 1 = Active, 2 = Despawned

Access

CallbackReadWrite
preprocess
spawnOrder
shouldSpawn
initialize
updateSequential
touch
updateParallel
terminate

Remarks

Entity Info is simply a view into Entity Info Array.