Displaying Actor When Variable Stops Updating

Hey guys, I was wondering how do I make a display popup after the score has stopped updating after 2 seconds?

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    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

  • SopandaSopanda Member Posts: 21

    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.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    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

Sign In or Register to comment.