Separate Events?

Get help using Construct 2

Post » Sun Jun 30, 2013 8:57 pm

So, if I have two of the same object on a layout, and I want them to have different events (Like different spawn spots) how would I do that?
B
4
Posts: 6
Reputation: 239

Post » Sun Jun 30, 2013 9:22 pm

@sodopro,

You can try giving your object an instance variable. To do this, select the object then add an instance variable in the properties window (on the left).

Once this is done, you can give each object a different value. Then you can use events to indicate that you want the object which has var = 0 to be spawned in one location, and object where var = 1 to be spawned somewhere else.

Hope that helps :)
B
33
S
6
G
7
Posts: 494
Reputation: 8,252


Return to How do I....?

Who is online

Users browsing this forum: jorgmaquoi, R0J0hound, tarek2 and 17 guests