Jump to content

Tattooshop

Resident
  • Content Count

    235
  • Joined

  • Last visited

Community Reputation

88 Excellent

About Tattooshop

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Many thanks! So, to simply send a command to play sound from the root prim to the child prim, it is enough to use 0? And yet, one script used 0x5000, what could that mean?
  2. Hello! I am using this llMessageLinked for the first time and am not understanding something. I have two scripts ( "sender and listener"). It is not entirely clear what is 0 meant here. I have looked through many different examples and they use different meanings, numbers, words, is it a channel or what is it lol? touch_start(integer total_number) { llMessageLinked(LINK_SET, 0, "#start", ""); }
  3. Managed to replace llLookAt with llRotLookAt. It works now. Just wondering if I did everything right? default { state_entry() { llSensorRepeat("", "", AGENT, 20.0, PI, 0.2); } sensor(integer total_number) { vector detected = llDetectedPos(0); vector pos = llGetPos(); llRotLookAt(llRotBetween( < 1.0, 0.0, 0.0 > , llVecNorm( < detected.x, detected.y, pos.z > -pos)), 1.0, 0.4); } } As far as I understand, llLookAt uses all axes by default and there is nothing you can do about it?
  4. Hello! I'm trying to use this script for a turret, now it follows the avatar up and down, right and left, but I only need the rotation to happen along the Z axis (left and right). How to do it? Thanks! //Causes Object to look at nearest Avatar. default { state_entry() { llSensorRepeat("", "", AGENT, 20.0, PI, 0.2); } sensor(integer total_number) { llLookAt( llDetectedPos(0) + <0.0, 0.0, 1.0>, 3.0, 1.0 ); } } http://wiki.secondlife.com/wiki/LlLookAt
  5. Hey! Why Verts in blender and in viewer when uploading do not match ( greater )?
  6. Thanks a lot for the addition @Mollymews! then it will look like this? integer action = llAbs(++counter % 3); if (action == 0) {;} else if (action == 1) {;} else if (action == 2) {;}
  7. Thank you so much! Works like a charm! 👍
  8. Hello! how to make such a sequence so that with the first click ( touch ) one action occurs, with the second another and with the third a third? and at the next all over again?
  9. A question about the environment settings. When teleporting to some places, a message appears with the ability to allow change the region environment settings. How to do this on my land ( save my settings for others ) ? And about EEP. Let's say I made my sky settings, can I also make them visible to others, using the same "allow to change environment" message? Addition. Is it possible to use only my own clouds, and save that way leaving everything else as default?
  10. I have a related question. Is it possible to put on HUD on rez automatically without asking avatar permission? Thanks!
  11. I tried changed event before on_rez event but it doesnt work
  12. NM fellows! Its fine now! Fixed (edited)
  13. Thanks very much! I removed changed event and it seems work fine!
×
×
  • Create New...