playMaker

Author Topic: Enable / Disable Particle System  (Read 7401 times)

Horror

  • Junior Playmaker
  • **
  • Posts: 79
Enable / Disable Particle System
« 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!
« Last Edit: July 28, 2012, 03:07:47 AM by Horror »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Enable / Disable Particle System
« Reply #1 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

Horror

  • Junior Playmaker
  • **
  • Posts: 79
Re: Enable / Disable Particle System
« Reply #2 on: July 30, 2012, 07:56:58 AM »
Hey Jean,

I'm just using Unity's standard Component > Effects > Particle System

Horror

  • Junior Playmaker
  • **
  • Posts: 79
Re: Enable / Disable Particle System
« Reply #3 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

MUX

  • Playmaker Newbie
  • *
  • Posts: 43
    • @stefstivala
Re: Enable / Disable Particle System
« Reply #4 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?

A3DStudio

  • Playmaker Newbie
  • *
  • Posts: 43
    • A3DStudio
Re: Enable / Disable Particle System
« Reply #5 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