How to show screen when player finishes level?

I am using the cannon trigger template and i want to know how you show a screen that says LEVEL COMPLETE after you destroy all "bricks"?

Best Answer

  • Braydon_SFXBraydon_SFX Posts: 9,273
    Accepted Answer
    You'd need an attribute (Integer or Index) and set that to how ever many blocks or bricks you have. Then, when you destroy a brick, do something like this:

    Change attribute: game.HowManyBricks (the attribute you just created) to game.HowManyBricks-1.

    Then, create a rule: When attribute game.HowManyBricks is 0, and when you still have ammo left, spawn your victory actor or level complete actor.


    Hope this gives you a basic idea of what to do.

    Braydon

Answers

Sign In or Register to comment.