How do I Spawn Object on a Layer specified by it's name

Get help using Construct 2

Post » Fri Jan 22, 2016 5:33 am

Okay. I know this is a stupid question, and for some damn reason I can't figure it out.

Let's say I want to spawn the object on the layer titled "Decoration".
Well, I type in Layer.Decoration in the Layer box, yet it says "Layer is not an object". If I type "Decoration" it says Decoration is not an expression.

What am I doing wrong here?
B
23
S
10
G
1
Posts: 153
Reputation: 2,635

Post » Fri Jan 22, 2016 6:08 am

Just type a Quote in that box, and it should pop up a suggestion list of all your layer names.

"Decoration" is what you put in the layer box, with quotes. Without quotes is a number.
B
215
S
57
G
32
Posts: 900
Reputation: 38,789

Post » Fri Jan 22, 2016 6:24 am

Thank you very much. I can't believe I forgot something as simple as that v_v

Appreciate it!
B
23
S
10
G
1
Posts: 153
Reputation: 2,635


Return to How do I....?

Who is online

Users browsing this forum: MAVERICK, tarek2 and 5 guests