How do I manage events on objects not created yet ?

Get help using Construct 2

Post » Sun Nov 13, 2016 7:37 pm

Message: DiabloOvermind can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hey guys, bump.

Tried several things, and could not get the game to pick the right bullets.

Here is my capx file : https://www.dropbox.com/s/yd6i2sm4u2mh8 ... .capx?dl=0


click the tower to select it, then you can upgrade it clicking "upgrade" button. You can also create new instances of the same tower by clicking "create".

I need the bullets coming from each different instances of the same turret to have different damage values.

ANy help would be greatly appreciated. Thank you :)

EDIT : cannot post urls... heres printscreen instead :
Image
Image
Image
B
12
S
4
G
1
Posts: 39
Reputation: 1,378

Post » Sun Nov 13, 2016 8:19 pm

Uh no, instance variables are always personal for that instance.

Are the towers turrets and do you use 'on shoot' ?
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Sun Nov 13, 2016 9:20 pm

Last bump : I DID IT !!
I followed @blackhornet 's capx, but at first I chose the base event to be "on bullet spawned" instead of "on turret shoot" :) But now its all good, now I have to redo everything on the actual game -_- but im very happy, thank you very much guys !

@99instances2Go => figured that out litterally 2 minutes ago :)
B
12
S
4
G
1
Posts: 39
Reputation: 1,378

Previous

Return to How do I....?

Who is online

Users browsing this forum: The Mnk and 7 guests