Pinned particle disappears when new/same object created

Get help using Construct 2

Post » Thu Jan 05, 2017 9:40 pm

Hello,

I have an object 'tank' that is a bullet.

I use the pintoimagepoint plugin to pin a particle effect to the tank (smoke) when the object is created.

However, every 5 seconds, when a tank is created, the particle disappears. Basically it seems to hop from one tank to the next spawned one.

How can I make all the tanks remain their pinned particle until I tell it to be destroyed?

I'm using the pintoimagepoint plugin because I use 'choose' command to spawn tanks vertically and found it easy to use.

Thanks.

R
B
13
S
7
G
4
Posts: 143
Reputation: 3,581

Post » Fri Jan 06, 2017 11:27 am

Add the particle object as a container object of the tank...

Select the tank object
Properties: Container -> [Create]
Choose the particle object

this will create a particle object for each tank object.
(but do not destroy the particle object, because the tank then will be destroyed also)
Image Image Image
B
42
S
22
G
15
Posts: 375
Reputation: 12,221

Post » Fri Jan 06, 2017 3:04 pm

Thanks so much!

That worked perfectly.

Regards R
B
13
S
7
G
4
Posts: 143
Reputation: 3,581


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, facecrime, Yahoo [Bot] and 7 guests