Difference between revisions of "LlMakeSmoke"

From Second Life Wiki
Jump to navigation Jump to search
m (typo)
m (compilation error)
Line 51: Line 51:
       PSYS_SRC_ACCEL,            <0.0, 0.0, 0.0>,
       PSYS_SRC_ACCEL,            <0.0, 0.0, 0.0>,
       PSYS_SRC_TEXTURE,          source_texture_id,
       PSYS_SRC_TEXTURE,          source_texture_id,
       PSYS_SRC_BURST_RATE,        10 / particle_count,
       PSYS_SRC_BURST_RATE,        10.0 / (float) particle_count,
       PSYS_SRC_ANGLE_BEGIN,      0.0,
       PSYS_SRC_ANGLE_BEGIN,      0.0,
       PSYS_SRC_ANGLE_END,        source_cone * PI,
       PSYS_SRC_ANGLE_END,        source_cone * PI,

Revision as of 07:59, 1 June 2009

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 );