Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- default
- {
- touch_start(integer num_detected)
- {
- integer face = llDetectedTouchFace(0);
- string texture = "name or uuid of texture";
- if (face == TOUCH_INVALID_FACE)
- {
- llOwnerSay("The touched face could not be determined");
- }
- else
- {
- llSetPrimitiveParams([PRIM_TEXTURE,face,texture,<1.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 0.0]); // face,texture,repeats, offset, rotation.
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement