llCollisionSprite

From Second Life Wiki
Revision as of 19:41, 25 October 2008 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search
Emblem-important-red.png Broken Feature Warning!

VWR-322 reports this function as broken.

Summary

Function: llCollisionSprite( string impact_sprite );
0.0 Forced Delay
10.0 Energy

Suppress default collision sprites, replace default impact sprite with impact_sprite (empty string to just suppress)

• string impact_sprite a texture in the inventory of the prim this script is in or a UUID of a texture

Caveats

  • If impact_sprite is missing from the prim's inventory and it is not a UUID or it is not a texture then an error is shouted on DEBUG_CHANNEL.
  • If impact_sprite is a UUID then there are no new asset permissions consequences for the object.
    • The resulting object develops no new usage restrictions that might have occurred if the asset had been placed in the prims inventory.

Examples

See Also

Events

•  collision_start
•  collision
•  collision_end

Functions

•  llCollisionFilter
•  llCollisionSound

Deep Notes

Signature

function void llCollisionSprite( string impact_sprite );