toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
Spawning
Nklrcade
Member, PRO
Posts:
96
January 2013
in
Working with GS (Mac)
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
tatiang
Member, Sous Chef, PRO, Senior Sous-Chef
Posts:
11,949
January 2013
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.
Nklrcade
Member, PRO
Posts:
96
January 2013
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?
tatiang
Member, Sous Chef, PRO, Senior Sous-Chef
Posts:
11,949
January 2013
Correct. The best way to see it is to set those behaviors up and take a look.
Sign In
or
Register
to comment.
Comments
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.