I’m looking for an “exists in scene” node, or anything of the sort. Like something that tells me if a specified actor exists in the scene/ scene outlier?
Does this node exist?
I’m looking for an “exists in scene” node, or anything of the sort. Like something that tells me if a specified actor exists in the scene/ scene outlier?
Does this node exist?
Well you could use ‘Is Valid’ node to see if the Actor is spawned and available in the world.
If you are instead trying to see an Actor of a specific class exists in the world, you can instead use ‘get Actors of Class’ node.
I tried what you said. But even after the actor is destroyed, the bool returning from IsValid remains true. I am checking it on loop so that means, it should return false as soon as it is destroyed. Any help?
maybe add a boolean “isDestroyed” to the actor, set it to False if he gets destroyed (in the actor BP), and if you check for IsValid and it returns True, cast to the actor and get “isDestroyed” and check if its True aswell