How do I create a chain

Get help using Construct 2

Post » Sun Jul 10, 2016 7:23 pm

I have a problem on my current project

i want to create a chain of lightning going from one object to an other and also have all these objects in one and the same family in other words als enemies and osses ut not the lighning or the projectiles

for better understanding here is a picture


when object "A" hits object "1" it should create a lightning to object "2", from "2" to "3" and from "3" to "4" without cyrcling
i guess instance variales could help here

as you can see object 2 doing it right but object 1 aiming itself. btw for aiming i was using the turret behavior and the length/width is usulay controlled by a "distance" expression wich is missing in the current version of this because i tried it over and over again evertime making it new and forgot it this time. I would very thankfull if someone had an idea how to solve this
Posts: 9
Reputation: 893

Post » Tue Jul 12, 2016 7:48 pm

lol I was hoping someone would offer a solution since I wanted to see one too.

Anyway, maybe have a look at the example provided by Yann at the bottom of this thread, it looks like something close to what you're doing, I just haven't fiddled around with it any.
Posts: 306
Reputation: 14,014

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests