One thing I wanted to do was everytime my counter hits a 5 kill increment, it cures the player of diseases, or possibly a 10 kill increment, either way, is there a way to have an if statement trigger if a variable is divisible by 5 or 10, if so, how would I express that?
Would I have to set up a function? Or is this just not really possible/there's a way easier way to go about this?
My global value is increased by a kill actor quest event right now.
if alias_killeralias.GetReference() == Game.GetPlayer()LoDKillCount.SetValueInt((LoDKillCount.GetValue() as int)+1)Debug.Notification(LoDKillCount.GetValueInt())endif stop()
^ Like this, I was thinking of having an extra if statement underneath that checks the global is the specified value for casting a cure disease spell, but I don't know if this is the best way to go about it.