Collecting actors and changing scene

metz044metz044 Member Posts: 9
edited November -1 in Working with GS (Mac)
I have 3 actors and a finish line. I want to change the scene when my main actor collects the other 3 actors then collides with a final actor. Otherwise I want the scene to reset? Suggestions?

Comments

  • sebmacflysebmacfly Member Posts: 1,018
    Using an attribute called ItemsToCollect (for exemple)
    Set it to 3.

    When your actor collide the item, change attribute ItemsToCollect-1

    When your ItemsToCollect=0

    Then you can use a rule on your final actor to change the scene (ItemsToCollect=0 and Colide)

    Hope that helps, Cheers!
  • metz044metz044 Member Posts: 9
    What type of attribute? Integer?
  • sebmacflysebmacfly Member Posts: 1,018
    Yup
Sign In or Register to comment.