Displaying Actor When Variable Stops Updating
Sopanda
Member Posts: 21
Hey guys, I was wondering how do I make a display popup after the score has stopped updating after 2 seconds?
Comments
How do you know when the score has stopped updating?
My guess would be:
If game.score > game.lastScore then change attribute game.lastScore to game.score.
If game.score = game.lastScore then Timer after 2 seconds Spawn actor [display actor]
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
In the game the score stops updating after when the last actor colloids with an object after the time has ran out and stops the spawner.
Okay, then use that as the rule condition for spawning the actor to display whatever information you need.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User