How can a user set a goal to beat and when they beat it the action you set happens?
I have a game integer attribute "score" and another "goal score". They can set their goal in increments of 5. They press a plus sign until desired goal is reached. Rule when the "score" is greater than or equal to "goal score" spawn an image.
The image won't spawn. Any suggestions?
Thanks!
Best Answer
-
tatiang Posts: 11,949
You'll have better luck if you post screenshots of your rules. If you're trying to spawn an actor (images can't be spawned but obviously actors can have images, so...), try including a Log Debugging Statement within that rule. Then open the Debugger window and see if the statement appears. That will tell you whether or not that specific rule is being triggered (e.g. when game.score ≥ goal.score).
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User