Difference between revisions of "LlMakeSmoke"

From Second Life Wiki
Jump to navigation Jump to search
m (lsl code tagging)
Line 24: Line 24:
|notes=
|notes=
Beginning in 1.14, the simulator will be using llParticleSystem to emulate legacy llMakeSmoke particles.
Beginning in 1.14, the simulator will be using llParticleSystem to emulate legacy llMakeSmoke particles.
<pre>
<lsl>
llMakeSmoke(integer particle_count,
llMakeSmoke(integer particle_count,
           float particle_scale,
           float particle_scale,
Line 32: Line 32:
           string source_texture_id,
           string source_texture_id,
           vector local_offset);
           vector local_offset);
</pre>
</lsl>
<pre>
<lsl>
fakeMakeSmoke(integer particle_count, float particle_scale, float particle_speed,
fakeMakeSmoke(integer particle_count, float particle_scale, float particle_speed,
             float particle_lifetime, float source_cone, string source_texture_id,
             float particle_lifetime, float source_cone, string source_texture_id,
Line 74: Line 74:
//    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
|cat1
|cat2
|cat2

Revision as of 16:22, 31 March 2008

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

Summary

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

Make smoke like particles

• integer particles
• float scale
• float vel
• float lifetime
• float arc
• string texture
• vector 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 llMakeSmoke particles. <lsl> llMakeSmoke(integer particle_count,

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

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

            float particle_lifetime, float source_cone, string source_texture_id,
            vector local_offset)

{ // local_offset is ignored

  llParticleSystem([
      PSYS_PART_FLAGS,            PSYS_PART_INTERP_COLOR_MASK

Deep Notes

Search JIRA for related Issues

Signature

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