Check if entity exists
Posted: Mon Aug 13, 2018 6:31 am
I need to be available to check if Entity(index) exists, because the server crashes when I try to access an entity that doesn't exist anymore.
Also, is it possible to change what an entity is available to collide with through ContentMasks?
Also, is it possible to change what an entity is available to collide with through ContentMasks?
Syntax: Select all
is_in_solid(mask=<ContentMasks.ALL: 4294967295>, generator=<class '_entities.BaseEntityGenerator'>)