Turning off particles?

madmasseymadmassey Member Posts: 55
edited November -1 in Working with GS (Mac)
Is there a way to turn off a particle emitter without just destroying the attached actor? As in, for instance, turning the number of particles value to 0 dynamically?

Comments

  • InLikeFlynnInLikeFlynn Member Posts: 171
    You can use a variable in the # of particles field. You could have it default to the number of particles you want, then set it to 0 when you want them off.
  • madmasseymadmassey Member Posts: 55
    Ah sweet man, thanks. That hadn't occurred to me.
  • madmasseymadmassey Member Posts: 55
    I tried this and changing the variable during runtime doesn't seem to work at all. It just uses the value the game starts with. Has anybody gotten anything like this to work before?
Sign In or Register to comment.