Help ending a round

alexxxhpalexxxhp Member Posts: 161
edited November -1 in Tech Support
how do i make the game know when the last ball has missed a target
Example I have five balls are thrown on the last ball left I want the game to know when it has missed and the game to end. not before the ball stops but once it stops then the game checks if it missed the target then end the game.

Comments

  • beefy_clyrobeefy_clyro Member Posts: 5,390
    maybe a rule thats states if the ball overlaps or collides with the target then change a game attribute (game.HitTarget) to 1 otherwise have the attribute change to 0. Then create a rule on the ball that says if velocity is 0 (so the ball has stopped) and game.HitTarget = 0 (meaning it hasnt hit the target when it has stopped) then end game
Sign In or Register to comment.