Problem casting a change to a boolean from another blueprint
For my final year project I'm trying to make a prototype for a Dodgeball first person shooter game. One of the mechanics I have in the game is the player being able to spawn a shield in front of themselves, to deflect shots off. However when the shield takes three hits, it is destroyed. I have tried to make it so that a player cannot spawn a shield if they have already summoned one, but regain the ability to spawn one, once their shield is destroyed.
My current way does not work. The casting itself works because the print I attached to it does appear, however it doesn't edit the boolean. I know I am probably doing something silly but I just cannot see what is wrong.
Below is screenshots of my blueprints and a video showcasing the problem:
asked Feb 23 '15 at 03:14 PM in Blueprint Scripting
Ah right. Ok so you should not use "Get player character" in a multiplayer game. It will not return the right character reliably.
From what I see you have two very valid options.
I hope this helps.
answered Feb 23 '15 at 03:26 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here