Particle Spawn

CapCap Member Posts: 225
edited November -1 in Working with GS (Mac)
I have an actor that will -after self.time is greater than 5 seconds- spawn a particle. At "number of particles" I enter 1. Nontheless after some seconds a second particle appears. What can I do to create exactly one particle?

Thanks!

Comments

  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    Adjust the particles life time to a shorter one.
  • DrGlickertDrGlickert Member Posts: 1,135
    You could make a self.attribute and a rule;

    Self.Particle TRUE/FALSE

    Rule: if self.particle is false, then TIMER after 4 seconds PARTICLE action AND Change Attribute Self.particle to false.

    This will prevent the actor from shooting the particle every 5 seconds.
  • CapCap Member Posts: 225
    Thanks. I managed to spawn exactly only one particle in this special case by using "if self.time = 5 then -> Spawn Particle" instead of using "self.time > 5".
Sign In or Register to comment.