if i hit symbol on specific place then variable.A will be set to 2 (relative) (if variable.A = 20 (all 5 symbols are hited) then set variable.Health to +1, and set variable.A to 0 again)
if i miss one, then variable.A will be set to -20 (if variable.A is < 0 then ) then variable.Health set to -1 (and set variable.A to 0)
the problems come here.
if i hit button A twice. then 10 symbols will apear and variable.A will be instantly set to 20 (wich causes player to get +1 Health)
i need somehow to make that every time i press button A, variable will be different.
for example first time pressed A, then it will be variable.A.1
second time. variable.A.2
but then i need to check every variable (from variableA.1 to variableA.infinity) if is not lower than -1.
or just need to change all mechanics.
Edited by vidokas, 14 March 2012 - 12:50 PM.