Difference between revisions of "LlMakeFire"

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 llMakeFire particles.
Beginning in 1.14, the simulator will be using llParticleSystem to emulate legacy llMakeFire particles.
<pre>
<lsl>
llMakeFire(integer particle_count,
llMakeFire(integer particle_count,
           float particle_scale,
           float particle_scale,
Line 24: Line 24:
           string source_texture_id,
           string source_texture_id,
           vector local_offset);
           vector local_offset);
</pre>
</lsl>
<pre>
<lsl>
fakeMakeFire(integer particle_count, float particle_scale, float particle_speed,
fakeMakeFire(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 69: Line 69:
//      i.e. its a single, set property, calling it 10 times won't cause
//      i.e. its a single, set property, calling it 10 times won't cause
//      10x as many particles, as the old ones did
//      10x as many particles, as the old ones did
</pre>
</lsl>
|deprecated=llParticleSystem
|deprecated=llParticleSystem
|cat1=Particles
|cat1=Particles

Revision as of 16:31, 31 March 2008

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

Summary

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

Make fire 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 llMakeFire particles. <lsl> llMakeFire(integer particle_count,

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

</lsl> <lsl> fakeMakeFire(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 llMakeFire( integer particles, float scale, float vel, float lifetime, float arc, string texture, vector offset );