mod function in games
kiwaci
Member, PRO Posts: 72
is this possible ??
when score%10==0 spawn actor. if so how can i do this on gamesalad.
thanks
Comments
I have attached an example project, you can choose either Equivalent or Mod by turning the attribute and rule on and off for each.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
Haven't looked at the above demo yet but just to say that you can enter value%divisor or mod(value,divisor) to the expression editor. The % symbol is being phased out for compatibility reasons.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
thanks