I have the following blueprint to let a player teleport, it works for client and server:
However I want to have more ‘powerups’ in my game, which I think has to be achieved by using a parent blueprint and a lot of child blueprint. I have tried this several times and the issue was that only the server could really use the powerup. In [this question] the original poster mentioned that the client can only affect his player by calling events in the player class itself. But that would mean that I can’t use seperate powerup blueprints.
A little recap of what I want to achieve:
- Powerups that a player can enable by pressing a key.
- A powerup parent which holds basic information for every powerup.
- Several powerup child which hold the specific information for that powerup (examples: Becoming invisible, run faster for 10 seconds, shoot a fireball).
- It has to work on multiplayer.
Can someone please help me with this? I’m pretty much stuck at the moment and can’t seem to find a solution.