Hey Folks!
I’m trying to convert a float numeric value of like etc $1,000,000 to text and I think I have it set right I’m not really sure if I am missing something I can post screenshots of whatever you guys need to see to see what is going on :).
Hey Folks!
I’m trying to convert a float numeric value of like etc $1,000,000 to text and I think I have it set right I’m not really sure if I am missing something I can post screenshots of whatever you guys need to see to see what is going on :).
Thanks ill try it out and I’m just starting out in Unreal Engine lol.
Thanks ill try it out and I’m just starting out in Unreal Engine lol. The problem I am having is it wont display the cash amount on my menu but it will show up in game though which I don’t get.
maybe u forget to load the savegame in the menu so the struct is empty
Alright, I appreciate your help man :). I did however load the save game from the custom event and I also put it in Event Construct to just in case.
u dont need the truncate, u need to put in the Base Value of your currency in penny (or cent) if u want to use USD
I removed the Truncate I did to float to Integer64 > Integer64 to Integer32 > As Currency > Return Value > SetText and I still got nothing, I’m starting to think it could be a bug with the editor or just human error on my part?
I did some debugging I did a print to text on it and its returning a value of 0, but it doesn’t make any sense since it loads the cash amount in game?
It’s what I was saying before, maybe you’re loading the game when you start playing and not in the menu, that’s why the structure is empty
Noob question, would I do a load save from the event construct on the menu widget? I apologize for being a noob at this lol, but my goal is to build a game in my life time and I figured to give it a shot see how far I can come with it.
if u want to have the save data in the map level u need to load the save file in the Init of the gameinstance, u can use the slot to create one save for the profiles and another save for your levels
Think i’m starting to understand how it works now, I think I need to some how save the cash amount from my level I was playing on that has the money to the same slot that the main menu uses am I getting it right?
if u use one slot from the profile and one for the levels u need to save the cash just in the profile and get the data from that in the level and in the menu