Spawning

NklrcadeNklrcade Member, PRO Posts: 95
I want to spawn three actors at once, but they need to overlap in a certain order. Is there a way to write this?

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Spawn actor [actor 1] in front of actor
    Spawn actor [actor 2] in front of actor
    Spawn actor [actor 3] in front of actor

    That will give you actor 1 in front, actor 2 in the middle, and actor 3 in back.

    Spawn actor [actor 1] in front of layer
    Spawn actor [actor 2] in front of layer
    Spawn actor [actor 3] in front of layer

    That will give you actor 3 in front, actor 2 in the middle, and actor 1 in back.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • NklrcadeNklrcade Member, PRO Posts: 95
    got it. 'Spawn actor [actor 3] in front of layer' should be on top and [actor 1] on the bottom in the second example - correct?
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Correct. The best way to see it is to set those behaviors up and take a look.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.