I created a "Parameterized Common Events", with a global variable, that show on my screen the HP of my character and when I do hit the HP they go down without problems, but when I change scene, the HP reset themselves and return to the starting point ( for example if after the hit there were 995 at the scene change back to 1000)how do I make the variable remember the "shots" taken by the character?
If this conversation already exist, excuse me but i didn't find it 🙁
Variables keep there values until they get changed by something.
So i would highly guess that the Variable has nothing to do with it.
What Plugins are you using for this?
Also show a Picture of the whole Page of the Common Event you mentioned. That could help.
Maybe you are setting the variables back on the change scene? Without seeing the project or how the scene commands are laid out, it's hard to tell.
here are the screens, it will surely be a very simple thing, but I just can't understand where I went wrong
Oh Oh i feel stupid right now, i just realised this is for Visual Novel Maker, i thought about rpg maker series.
So many apologies for that.
Edit: But i dont see a Picture of the Common Event.
It would be important to see that code also, to fully understand.
I'm honestly confused what is the error but I'll have to try on my side I guess.
the error is that passing from one scene to another HP ACE returns reset itself despite being a global variable (which if I have not misunderstood are those variables that remain for the whole game and not only in a single scene like the local ones, right? ._. )
Parameters tend to be Local Variables but I have to check. I haven't used them in a while.
I tried to set them HP ACE as a local variable, but the result was the same ...
I did some tests in 2 new projects and doing the same things all worked perfectly.but trying in the project that I showed no, even re-creating events ...
EDIT: it seems that the problem is that the variable is reset when I use the erase text command to make the text disappear.