Spawn Actor Return Value Problem
So I am trying to toggle my lights via a trigger box, this works fine. but when I destroy an actor (a wall) that I create using Spawn Actor all of my lights toggle off. These are completely unconnected in the BP and I have tested the connections and triggers and it seems that the return value when passed to Destroy Actor is what is causing the problem.
I will post pictures below.
If anyone has a solution to what is causing this, so that this destroy call does not affect my lights that would be great.
asked Nov 07 '15 at 09:53 PM in Blueprint Scripting
If not mistaken the wall triggers the end overlap event and be that the lights turns it self off, what you can do here is take the overlap actor node and cast it to the player, that way only the player can turn the lights off and on(If you want the player to do that).
answered Nov 08 '15 at 08:05 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here