Is there a way to 'reset' a blueprint and it's variables to the starting state?
Lets say I have a blueprint that modifies a bunch of it's variables based on input. Is there a way to trigger a 'reset' that places all those variables back in their default state without destroying and respawning the blueprint itself?
You can grab the values from the default object if that suites you.
Here's a little helper function in C++ to get the default
answered Aug 01 '14 at 05:28 PM
Simply create your own (function) to reset variables, if you don't know the default values for your variables, then just create new set of (duplicate) variables and when the game starts save the initial values to them so you can use them as reference for resetting. Then you need to figure out at what event you will want to reset those variables. btw: You can reset your level with Console Command "Reset" or "Restart"I think.
Follow this question
Once you sign in you will be able to subscribe for any updates here