How PIN something to moving object? (IMG)

Get help using Construct 2

Post » Fri Aug 04, 2017 10:41 pm

Hey
OK, I added Pin behaviour to object. I need to show what object is thinking about when moving path ;-) Only for 5 sec.
But now all object has got pinned this cloud for all time. Just my events don't work. I need show this cloud for some objects randomly and cloud should gone.
Image
Last edited by marcinkowski on Sun Aug 06, 2017 7:49 am, edited 1 time in total.
B
10
S
4
G
2
Posts: 197
Reputation: 2,382

Post » Sat Aug 05, 2017 7:18 pm

1) The enemies.live <10 is unnecessary: enemies.live <20 already includes <10

2) You need to put your trigger once beneath the enemies: Live <20

3) Before pinning an object you need to move the object into position and then pin it.
B
21
S
9
G
4
Posts: 473
Reputation: 4,285

Post » Sat Aug 05, 2017 9:36 pm

Hey @mekonbekon, Still not working.

Image

Mean ...cloud is showing, but when this enemy is destoyed something weird happend to other Enemies in the back and front. They have picked Life Bar and this bar is getting crazy, showing wrong value and when tower kill them this bar stays in place (should be destroyed).
When I disable this event everything is fine. I tried many things that's why I created enemie variable "hited" because event doesn't work with enemies life: 5> life >3.
B
10
S
4
G
2
Posts: 197
Reputation: 2,382

Post » Sun Aug 06, 2017 8:22 am

@marcinkowski Do you have a capx you can share?
B
21
S
9
G
4
Posts: 473
Reputation: 4,285

Post » Sun Aug 06, 2017 10:15 pm

Ok solved ;-) @mekonbekon
Image
B
10
S
4
G
2
Posts: 197
Reputation: 2,382


Return to How do I....?

Who is online

Users browsing this forum: Darknessed, Magistross, worm1 and 23 guests