11.07.2015 Views

Linden Scripting Language Guide - Engineering Center

Linden Scripting Language Guide - Engineering Center

Linden Scripting Language Guide - Engineering Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A.144. llParticleSystemAppendix A. <strong>Linden</strong> Library FunctionsllParticleSystem(list parameters);Makes a particle system based on the parameter list. The parameters are specified as an ordered list ofparameter and value. Valid parameters and their expected values can be found in the particle system constants.Here is a simple example:llParticleSystem([PSYS_PART_FLAGS, PSYS_PART_WIND_MASK,PSYS_PART_START_COLOR, ,PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_EXPLODE]);A.145. llPassCollisionsllPassCollisions(integer pass);If pass is TRUE, land and object collisions are passed from children on to parents.A.146. llPassTouchesllPassTouches(integer pass);If pass is TRUE, touches are passed from children on to parents.A.147. llPlaySoundllPlaySound(string sound, float volume);Plays a sound once. The sound will be attached to an object and follow object movement. Only one sound maybe attached to an object at a time, and attaching a new sound or calling llStopSound will stop the previouslyattached sound. A second call to llPlaySound with the same sound will not restart the sound, but the newvolume will be used, which allows control over the volume of already playing sounds. To restart the sound fromthe beginning, call llStopSound before calling llPlaySound again.65

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!