Announcement

Collapse
No announcement yet.

Toggle individual emitters in a particle system?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Toggle individual emitters in a particle system?

    Is there a way to toggle individual particle emitters in a particle system via unrealscript?


    #2
    This method in ParticleSystemComponent does the job:
    Code:
    /** 
     *    Calls SetStopSpawning with the given emitter instance passing in the given value.
     *
     *    param    InEmitterIndex        The index of the emitter instance to call SetHaltSpawning on; -1 for ALL
     *    param    bInStopSpawning        The value to pass into the EmitterInstance SetHaltSpawning call
     */
    native final function SetStopSpawning(int InEmitterIndex, bool bInStopSpawning);

    Comment

    Working...
    X