How to spawn 'unique' / 'clone' objects

Get help using Construct 2

Post » Sun Feb 15, 2015 1:50 pm

Is there a way to spawn new objects so they are clones?

Because right now when you use global variables to set 'enemy destroyed' it will destroy ALL enemies that are on the layout. I'm trying to use a health system for the enemies and player spawned objects.

So basically you can spawn objects by clicking a button. These objects move to the enemy. Enemy can also destroy player objects and is moving automatically towards the players base. Enemies are spawned every x seconds.

My problem is that I now need to make infinite copies of all moving objects and copy their conditions and actions as well (make them unique for each) plus I would need to make them all interact with eachother, almost infinitely. I'm pretty sure this isn't supposed to work like that.

If any could tell me how to spawn unique objects or clones that'd be great.
B
12
S
6
G
3
Posts: 117
Reputation: 2,902

Post » Sun Feb 15, 2015 2:21 pm

You need to pick the appropriate enemy to destroy. We'd have to see what you are doing to help more.
ImageImageImage
B
71
S
19
G
166
Posts: 3,425
Reputation: 96,066


Return to How do I....?

Who is online

Users browsing this forum: Cryttexx, KNTMartin, newt, ridhoemgl and 7 guests