I explain, I made 3 skills that call the same common event that I should do the following:
if skill A was used, set variable X to 0, if not, variable X increased by one
and try the following:
if ( the skill used is == Skill A){
$game.Variables.setValue(x,0));
}
else {
$game.Variables.setValue(x,$game.Variables.value(x,++));
}
but I don't know how to complete it, the truth is that I don't know if what I did is right.
Could someone help me, Thanks in advance.
if skill A was used, set variable X to 0, if not, variable X increased by one
and try the following:
if ( the skill used is == Skill A){
$game.Variables.setValue(x,0));
}
else {
$game.Variables.setValue(x,$game.Variables.value(x,++));
}
but I don't know how to complete it, the truth is that I don't know if what I did is right.
Could someone help me, Thanks in advance.