SerenaPufnstuf
Resident-
Posts
20 -
Joined
-
Last visited
Reputation
4 NeutralRecent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
An old query but hard to find a solution!
SerenaPufnstuf replied to SerenaPufnstuf's topic in LSL Scripting
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 -
An old query but hard to find a solution!
SerenaPufnstuf replied to SerenaPufnstuf's topic in LSL Scripting
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. -
An old query but hard to find a solution!
SerenaPufnstuf replied to SerenaPufnstuf's topic in LSL Scripting
ty! I will try it now. -
An old query but hard to find a solution!
SerenaPufnstuf replied to SerenaPufnstuf's topic in LSL Scripting
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. -
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!
-
1 Script for Multiple Meshes - Texture Changer
SerenaPufnstuf replied to SerenaPufnstuf's topic in LSL Scripting
Perfect! Works like a charm ty! 🤗 -
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
-
Ah ty for the clarification. 🤗
-
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
-
SerenaPufnstuf started following Start and Stop animation in contents in attached mesh and Detect Reversing?
-
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
-
Start and Stop animation in contents in attached mesh
SerenaPufnstuf replied to SerenaPufnstuf's topic in Animation Forum
Yay! (touch wood) It's working! Tytyty. 🤗 -
Start and Stop animation in contents in attached mesh
SerenaPufnstuf replied to SerenaPufnstuf's topic in Animation Forum
Awesome! I will try that, and happy thanksgiving! 😉 -
Start and Stop animation in contents in attached mesh
SerenaPufnstuf replied to SerenaPufnstuf's topic in Animation Forum
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. -
Start and Stop animation in contents in attached mesh
SerenaPufnstuf replied to SerenaPufnstuf's topic in Animation Forum
\o/ Works perfectly! Thank you so much! 🥰