Help with checkpoint respawn mechanic, blueprint, 2d Sidescroller
I am using the respawn mechanic from this tutorial https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/RespawnPlayer/Blueprints/ successfully (see respawn 2dsidescrollergamemode blueprint.png attached) but I wanted to be able to update respawn location via level blueprint (see respawn lvl_00 blueprint.png attached) so that when the character (BP_Dude) collides with trigger box (Checkpoint_1 highlighted Purple) it will update the spawn transform location (where character respawns, highlighted yellow) to the location of the empty actor (Checkpoint_1_Respawn, highlighted green). I get the following error:
Error This Blueprint (self) is not a 2DSideScrollerGameMode_C, therefore 'Target' must have a connection. Error Variable node Set uses and invalid target. It may depend on a node that is not connected to the excecution, and got purged.
I tried entering "Get player character" return variable, get BP_dude and "Cast to BP_dude" outputs as the target nodes but none would connect to target input for spawn transform location. Is this not the proper way to change the input for "Spawn Transform Location?"
I really want to try to do it this way to simplify what I need to add to level blueprints for checkpoints.
Let me know if you have any questions.
Any ideas? thanks guys.
asked Jun 27 '17 at 08:42 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here