Jump to content

SerenaPufnstuf

Resident
  • Posts

    20
  • Joined

  • Last visited

Reputation

4 Neutral

Recent Profile Visitors

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

  1. With the lid open and then closed here's what i get with the // identify child prims and positions script: OPEN: [11:06] Treasure Chest Lid: Child 3 pos <-0.00001, 0.41750, 0.33240> rot <0.13795, -0.69352, -0.13795, 0.69352> degrees <0.00000, -90.00000, -22.50001> [11:06] 2: Child 4 pos <0.00000, 0.31613, 0.72003> rot <-0.55557, -0.00001, -0.00002, 0.83147> degrees <-67.50000, -0.00002, -0.00266> CLOSED: [11:05] Treasure Chest Lid: Child 3 pos <-0.00001, 0.42341, 0.33295> rot <0.50000, -0.50000, -0.50000, 0.50000> degrees <0.00000, -90.00000, -90.00000> [11:05] 2: Child 4 pos <0.00000, 0.02650, 0.38763> rot <0.00000, 0.00000, -0.00002, 1.00000> degrees <0.00000, -0.00002, -0.00266> Notice i get 4 co-ordinates for the rotation. Confusing! Which wont fit in here: list open = [lidNum, <x,y,z>, <x,y,z,s>, hingenum, <x1,y1,z1>,<x1,y1,z1,s1>]; // substitute actual list closed = [lidNum, <x,y,z>, <x,y,z,s>, hingenum, <x1,y1,z1>,<x1,y1,z1,s1>]; // numbers here
  2. lol, ok, fiddling with it now... 👍 ...Looks good but how do i specify to the script to rotate prims 1 & 2 but not 3 & 4? Sorry for being dumb.
  3. Ty for the reply, I will continue to stumble and bumble my way through it More replies greatly appreciated, sorry I am not good at scripting.
  4. Hiii All! I have made a treasure chest so need a script to open just the lid of linked mesh prims, is there a way of telling the script just to rotate the lid? Thank you in advance, and HAPPY EASTER!
  5. Hi All! I have a script that works fine on a mesh for changing the textures in the contents (4 seasons type thing) but when I join another mesh to it the script only changes the mesh i touch, is there a way of click one mesh to change all. Its a project for a sim wide, 1 click, to change the seasons: integer g_NDX = 0; default { touch_start(integer total_number) { integer count = llGetInventoryNumber( INVENTORY_TEXTURE ); if( count == 0 ) return; if( g_NDX > count - 1 ) g_NDX = 0; llSetTexture( llGetInventoryName(INVENTORY_TEXTURE, g_NDX), ALL_SIDES); ++g_NDX; } } end Thanks in advance
  6. Ah ty for the clarification. 🤗
  7. Thank you for that. I really need something that will play a sound in contents / uuid when the av is walking backwards ( i have the walking backwards anim). Just want it to play when that anim is playing. Hope that makes sense. ty
  8. Hiiii All! Hope you can answer this odd query: Is it possible to write a script to detect the avatar reversing? I want to add a reversing beep to an av...just for a bit of fun! ty in advance! Hugs
  9. oops spoke too soon lols [01:06] Script trying to trigger animations but PERMISSION_TRIGGER_ANIMATION permission not set [01:06] Script trying to stop animations but PERMISSION_TRIGGER_ANIMATION permission not set It actually works in-world but receive the above error message.
  10. Hiii Probably a very old Q but can't find anything that works: I need a script that will start an animation in a pair of skates but also stop when not moving forward. Hope you can point me in the right direction, as it were. 🙂
×
×
  • Create New...