[Paper2D] Removing a sprite using Blueprints?
I'm currently working on a 2D Platformer in my spare time. Though I've run into a problem. What I'm trying to achieve is; Whenever I turn off the Blue Switch, the Blue Lasers will disappear.
What I have right now is this:
Which is referenced and cast to in the Blueprint for the Laser: This is the Blueprint for the Laser. It doesn't remove the sprite so the player can continue. I've tried replacing the "Deactivate" node with multiple other ones, such as changing the sprite and leaving the selection empty, turning it invisible and removing the actor.
If anyone could help me out on this one, that'd be very much appreciated!
asked Jul 31 '17 at 01:14 PM in Blueprint Scripting
Here is my theory: 1) The blue prints are referencing two differnet 'TurnedOff' variables. Hence the second 'TurnedOff' variable is never set to true. 2) The deactivate is not working as you said, you can try flipflop, toggle Active as alternatives.
Hope this helps d0d0
answered Jul 31 '17 at 06:20 PM
I was indeed, thank you so much for your help!
answered Aug 05 '17 at 08:49 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here