Expression to determine if value is a multiple of a certain number

Hi wondering if I can get some math/function help from someone. In my game you die a lot and I want to make a rule that will make the game pause on a tip screen every certain number of deaths.

For example. If I wanted every ten deaths for the screen to pop up is there an expression to determine if the current number of deaths is a multiple of ten? (20,30,40.... 110,120,130). Thanks in advance!

-Eric

Comments

Sign In or Register to comment.