How do I use a Variable to spawn an Object?

Get help using Construct 2

Post » Sat Feb 18, 2012 2:43 am

What I have;

I have a shop system setup to when you buy something it sets a family instance variable.

Now, what I need;

Upon starting a layout when you spawn an object, instead of referencing an object I need to be able to reference a variable with the same name as the object and have it work like that. So far I can't find a way to accomplish this. If there isn't a way to do this, could this be easily implemented?

Thanks!

EDIT: Found a work-around.DoubleElite2012-02-18 03:09:07
B
16
S
3
G
5
Posts: 43
Reputation: 3,880

Return to How do I....?

Who is online

Users browsing this forum: TELLES0808 and 18 guests