How do I Stop All Other Events midway throu when a Boss Dies

0 favourites
  • 3 posts
From the Asset Store
Very simple code without excess options (15 events for server and 11 events for client)
  • Say I am using a big long event like the following to cycle through a boss phase:

    Event: Do boss cycle is True

    Action: Set Do boss cycle false

    Action: walk left for a bit

    Action: wait 3 seconds

    Action: shoot a fireball

    Action: wait 5 seconds

    Action: shoot lightning

    Action: wait 10 seconds

    Action: Set Do boss cycle True

    Say the boss died around the part where its shooting a fireball. I want to end the event then. Currently it will continue on and play the sound effect (really the only problem since i destroy the actual boss). So you'll be doing your victory dance while your hearing lighting being shot (or more annoying the screen shaking...).

    Any advice?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Create a global varialble like BossAlive. Set it to 1 when the boss dies. Put all your events you want to stop under Condition -> 'BossAlive = 0' -> ...Rest of your events

  • Or you could put them in a group and activate/deactivate the group as needed.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)