Difference between revisions of "LlTriggerSoundLimited"

From Second Life Wiki
Jump to navigation Jump to search
Line 3: Line 3:
|func=llTriggerSoundLimited|sort=TriggerSoundLimited
|func=llTriggerSoundLimited|sort=TriggerSoundLimited
|p1_type=string|p1_name=sound|p1_desc=inventory item or [[UUID]]
|p1_type=string|p1_name=sound|p1_desc=inventory item or [[UUID]]
|p2_type=float|p2_name=volume|p2_desc=between 0.0 (silent) and 1.0 (loud) (0.0 <= '''volume''' <= 1.0)
|p2_type=float|p2_name=volume|p2_desc=between 0.0 (silent) and 1.0 (loud) (0.0 &lt;&#61; '''volume''' &lt;&#61; 1.0)
|p3_type=vector|p3_name=top_north_east
|p3_type=vector|p3_name=top_north_east
|p4_type=vector|p4_name=bottom_south_west
|p4_type=vector|p4_name=bottom_south_west

Revision as of 18:49, 20 February 2007

Summary

Function: llTriggerSoundLimited( string sound, float volume, vector top_north_east, vector bottom_south_west );

Plays sound at volume, centered at but not attached to object, limited to the box defined by vectors top_north_east and bottom_south_west

• string sound inventory item or UUID
• float volume between 0.0 (silent) and 1.0 (loud) (0.0 <= volume <= 1.0)
• vector top_north_east
• vector bottom_south_west

If the object moves the sound does not move with it.
Use llPlaySound to play a sound attached to the object.

Examples

See Also

Deep Notes

Search JIRA for related Issues

Signature

function void llTriggerSoundLimited( string sound, float volume, vector top_north_east, vector bottom_south_west );