Difference between revisions of "LlMakeFountain"

From Second Life Wiki
Jump to navigation Jump to search
m (lsl code tagging)
Line 16: Line 16:
|notes=
|notes=
Beginning in 1.14, the simulator will be using [[llParticleSystem]] to emulate legacy llMakeFountain particles.
Beginning in 1.14, the simulator will be using [[llParticleSystem]] to emulate legacy llMakeFountain particles.
<pre>
<lsl>
llMakeFountain(integer particle_count,
llMakeFountain(integer particle_count,
               float particle_scale,
               float particle_scale,
Line 26: Line 26:
               vector local_offset,
               vector local_offset,
               vector bounce_offset);
               vector bounce_offset);
</pre>
</lsl>
<pre>
<lsl>
fakeMakeFountain(integer particle_count, float particle_scale, float particle_speed,
fakeMakeFountain(integer particle_count, float particle_scale, float particle_speed,
                 float particle_lifetime, float source_cone, integer bounce,
                 float particle_lifetime, float source_cone, integer bounce,
Line 69: Line 69:
//    4) There is no way to duplicate the offset from the old functions within the
//    4) There is no way to duplicate the offset from the old functions within the
//      new particle system
//      new particle system
</pre>
</lsl>
|cat1=Particles
|cat1=Particles
|cat2=Effects
|cat2=Effects

Revision as of 16:24, 31 March 2008

Emblem-important.png Deprecated
(This function has been deprecated, please use llParticleSystem instead.)

Summary

Function: llMakeFountain( integer particles, float scale, float vel, float lifetime, float arc, integer bounce, string texture, vector offset, float bounce_offset );

Make a fountain of particles

• integer particles
• float scale
• float vel
• float lifetime
• float arc
• integer bounce
• string texture
• vector offset
• float bounce_offset

Caveats

  • This function causes the script to sleep for 0.1 seconds.
  • This function has been deprecated, please use llParticleSystem instead.
All Issues ~ Search JIRA for related Bugs

Examples

Notes

Beginning in 1.14, the simulator will be using llParticleSystem to emulate legacy llMakeFountain particles. <lsl> llMakeFountain(integer particle_count,

             float particle_scale,
             float particle_speed,
             float particle_lifetime,
             float source_cone,
             integer source_bounce,
             string source_texture_id,
             vector local_offset,
             vector bounce_offset);

</lsl> <lsl> fakeMakeFountain(integer particle_count, float particle_scale, float particle_speed,

               float particle_lifetime, float source_cone, integer bounce,
               string source_texture_id, vector local_offset, vector bounce_offset)

{ // local_offset is ignored // bounce is ignored // bounce_offset is ignored

   llParticleSystem([
       PSYS_PART_FLAGS,            PSYS_PART_INTERP_COLOR_MASK

Deep Notes

Search JIRA for related Issues

Signature

function void llMakeFountain( integer particles, float scale, float vel, float lifetime, float arc, integer bounce, string texture, vector offset, float bounce_offset );