thanks for answering!
that first issue was embarrassing, how did i not figure that out, ugh.. but much appreciated!
but so, the second issue. ill try and keep it simple for the sake of discussion:
right now i have that max 500 units for global var. (stamina).
i was thinking of making another global var, lets say "level up".
every 10 enemies killed levels up, global var sets to 0 again. no problem so far.
that level up adds, say +50 to that 500 globar var, so the first level up would be 550.
the problem is:
to regenerate the stamina bar over time, i have a condition/action as follows:
always--> if global var (stamina) is less than 500 ---> add 2 to global var (stamina).
that becomes a problem if im going to level up the max stamina over that initial 500.
basically this is the whole issue im having here.
Use two variables, DefaultHP (initial value set to 500) and LevelUPsHP (initial value set to 50), then:
NB: you have to remember to "update" when your Hero increase Level adding "tot" at the LevelUPsHP value
EX: on level2 reached -> set LevelUPsHP to 100
on level3 reached -> set LevelUPsHP to 200
ecc