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'>)
Syntax: Select all
is_in_solid(mask=<ContentMasks.ALL: 4294967295>, generator=<class '_entities.BaseEntityGenerator'>)
I would like to add that this is not a recommended approach, because the entity could have been deleted and a new entity reuses the same memory address.L'In20Cible wrote:To validate whether or not an instance is still valid, you would have to loop through all existing entities and compare their address [...]
Return to “Plugin Development Support”
Users browsing this forum: No registered users and 92 guests