Every level increase trigger an animation
3absh
Member Posts: 601
Hey guys.
I have this 5 frame animation that I want to be triggered for every 1 increase in player level.
This is what I did but it didn't work
Mod(Player.Level,1000) not equal to zero --> animate
I thought that every time the player level increases this rule will check and the result will not be equal to zero then it will animate.
Turns out two sequential ON's do not trigger a rule
There must be an OFF between them
What should I do?
Comments
Right, rules only trigger when their condition changes from false to true.
You may want to do something like When game.level > game.nextLevel
.....animate
.....change attribute game.nextLevel to game.nextLevel+1000
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User