#Toggling observers / despawning them

3 messages · Page 1 of 1 (latest)

spare sable
#

Is there some way to toggle an observer? My best solution currently would involve adding an optional resource and checking if it exists when the observer system runs, though this seems awkward.
Further to this, I tried running some code to despawn an observer but it didnt work, is this one of those cases where I need to specifically tell the Query that I want to include observers?

pale hazel
#

There's no toggling that I'm aware of. I'm not sure what that would look like
There's no kind of default filter on queries at the moment. I'd expect despawning an observer to work

gray valve
#

How do you spawn your observers? Observers are usually separate entities.