load data from Game Instance
I somehow managed to post this in the wrong forum first and it disappeared so I'll try again.
I got some great help here just the other day and it got me quite far. I decided to extend something I'm working on a bit and even though I got a great example from a user here that did pretty much this I still can't figure out why it won't work for me... I'm clearly overlooking something here...
I simply want to load some transformation data I stored (successfully) in my Game Instance class. I did some ingame print outs (top left) in the first class I fetch transformation info (green) and save it in the Game Instance (pink) and then I try to load it in my Character class construct (orange) but it's set to the default 0,0,0 there instead of loading the correct value...
Anyway thanks for all the help so far here I'm making slow, slow progress at least.
asked Jan 03 '17 at 04:58 AM in Blueprint Scripting
When are you storing the transformation data for your character class?
It's possible that you're attempting to load the data before it has been successfully stored in terms of order of operations. Try printing the value on BeginPlay instead of Construct and see if you're getting the correct transform values.
Let me know your results.
answered Jan 03 '17 at 07:41 PM
Sean L ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here