Untitled Document

EmitterID = SP ADD STATIC EMITTER (GroupID ,flow# , tank , ZoneID)
DESCRIPTION:
Adds a Static Emitter to the specified Group.The Command also returns the ID of this newly created Emitter.Use this ID as a Reference to change the Emitter parameters in real time.
PARAMETERS:

- GroupID - The ID of the Group
- flow# - Sets the emission rate of the particles.Setting flow value to -1 means that all particles in the emitters tank must be emitted at once.(one SP UPDATE call)
- tank - With the tank parameter you can specify the number of particles in the emitter's tank.The emitter will emit particles until his tank becomes empty.If you set this value to 5 , the emitter will emit 5 particles then stops ,and becomes inactive.You can fill the tank with the SP SET EMITTER TANK Command. A negativ value (e.g -1) means that the tank have unlimited particles and never becomes empty.(NOTE: Both flow and tank cannot be -1 ! )
- ZoneID - The Zone of the Emitter created with the Zone commands.Each Emitter needs a Zone !

BACK TO MAIN HELP
BACK TO EMITTER HELP