Chaining events. Is this possible?

hillelchillelc Member Posts: 56
edited November 2011 in Working with GS (Mac)
is there a technique that can be used to trigger one event to happen when a previous one ends? (Other than using timers?)

Comments

  • POMPOM Member Posts: 2,599
    Yes , its quit simple actually, make a game attribute "boolean" - call it "event number 2"
    now , when event 1 is over , change "event number 2" to true ,

    then have a rule :
    When "event number 2" is TRUE -
    Do what you want for the second event .

    note that if you have more that 2 events , you can use "integer" attribute as a counter .
    so that when event number 1 is over ,
    change the integer "game.number of the event" to 2

    Then have a rule -
    When "game.number of the event" = 2
    Do what you want for the second event .
    And Change "game.number of the event" to 3

    And so on .

    Hope it helps .
    Roy.
  • hillelchillelc Member Posts: 56
    Thanks. Yes, but how do I determine when event 1 is over? that's really my question.
  • POMPOM Member Posts: 2,599
    Well thats depending on what happen on event 1..?!
    Is an attribute changes?
    Does an actor collide with another actor?
    Is it just time passes by?

    Post some info so I can help..
    Roy
  • hillelchillelc Member Posts: 56
    When an animation ends.
Sign In or Register to comment.