I’m not to good at math, and I need to write a script that says, “Every 3rd level, this event will trigger” (level being a character level in a game).
Could anybody help me out with this? Thanks! You don’t have to convert it to code, I can work with just the formula (or however it’s most easily explained!)
Use the modulo operator, which returns the remainder after division: