Is there a way to disable and enable variables in Blueprints?

This code is working fine. But whenever I press E before colliding with the BP_Zone, I teleport to vector position (0,0,0) because the default Checkpoint Location is set to (0,0,0). Is there a way I tell Unreal to not use the variable before casting?

1 Like

Yup, you put a branch node in there :slight_smile:

IF location = 0, don’t teleport…

1 Like

Ohh yes ! Using if statements, this would do the trick. Thank you!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.