Im currently using this script to store a happening ingame to a variable system displaying happenings on the HUD screen:
$gameVariables.setValue(381, "\\c[18]This shows up on the HUD.\\c[0]");
Im using OrangeHUDLineVar to display the last 5 events in plain text on the hud.
I.e. "Ah nice, I found some apples."
But instead of "Ah nice, I found some apples." I want to write "Ah nice, I found 3 apples."
So there my problem arrives, because I want to store variables and then keep them unchanged in the hud text as a story of what happened.
If i first get 2 apples and my HUD message becomes "Ah nice, I found 2 apples" then if I find 3 more both messages then shows "Ah nice, I found 3 apples"
So how can we "convert" the variable into real text for using in another variable. Can this be done with taking out the value of a variable for using as plain text in a messagebox.
in what way would you handle this? Im lost
$gameVariables.setValue(381, "\\c[18]This shows up on the HUD.\\c[0]");
Im using OrangeHUDLineVar to display the last 5 events in plain text on the hud.
I.e. "Ah nice, I found some apples."
But instead of "Ah nice, I found some apples." I want to write "Ah nice, I found 3 apples."
So there my problem arrives, because I want to store variables and then keep them unchanged in the hud text as a story of what happened.
If i first get 2 apples and my HUD message becomes "Ah nice, I found 2 apples" then if I find 3 more both messages then shows "Ah nice, I found 3 apples"
So how can we "convert" the variable into real text for using in another variable. Can this be done with taking out the value of a variable for using as plain text in a messagebox.
in what way would you handle this? Im lost