Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Horror on July 28, 2012, 03:02:29 AM

Title: Enable / Disable Particle System
Post by: Horror on July 28, 2012, 03:02:29 AM
I currently have a particle emitter parented under a character's armature which I want to turn on at a certain time. I'm using a SetProperty action on an object variable with UnityEngine.ParticleSystem but it isn't working!

I've tried changing the property for enableEmission, isPlaying and playOnAwake, but it just wont turn on.

What else could I be missing?

Cheers!
Title: Re: Enable / Disable Particle System
Post by: jeanfabre on July 30, 2012, 03:58:54 AM
hi,

I think you are simply trying to change the wrong properties.

 what particle system are you using?

bye,

 Jean
Title: Re: Enable / Disable Particle System
Post by: Horror on July 30, 2012, 07:56:58 AM
Hey Jean,

I'm just using Unity's standard Component > Effects > Particle System
Title: Re: Enable / Disable Particle System
Post by: Horror on August 02, 2012, 12:06:00 AM
I still can't get this thing to work. Is there something I need to do to wake up the particle system? If I manually click the checkbox for playOnAwake while the game is running the particle system will start up, but it won't work if I enable the property through playMaker's Set Property. I've tried several properties that look related to enabling the emitter but nothing has worked yet.

Cheers
Title: Re: Enable / Disable Particle System
Post by: MUX on August 28, 2012, 06:05:52 AM
I still can't get this thing to work. Is there something I need to do to wake up the particle system? If I manually click the checkbox for playOnAwake while the game is running the particle system will start up, but it won't work if I enable the property through playMaker's Set Property. I've tried several properties that look related to enabling the emitter but nothing has worked yet.

Cheers

having the exact same issue, wondered if you maybe solved it?
Title: Re: Enable / Disable Particle System
Post by: A3DStudio on August 28, 2012, 02:39:33 PM
You can use the "Particle On/Off" action from qholmes, its works very good to turn particles on or off:
http://hutonggames.com/playmakerforum/index.php?topic=593.0