|
Sidona Babeli
Registered User
Join date: 19 Mar 2006
Posts: 27
|
07-24-2006 11:51
Hi folks,
Just curious about why my animations won't stop. It only seems to be when I click on a dance ball, sit on a chair and things like that.
It takes a full SL reload to get back to normal ( zoning, teleport and so on dont work). Do I have some setting wrong somewhere?
Thanks, Sid
|
|
Thili Playfair
Registered User
Join date: 18 Aug 2004
Posts: 2,417
|
07-24-2006 12:38
If you are on running a animation and teleport you usually end up stuck in one, you can make a button on hud to stop this tho, some poseballs can loop animate you even if youre not on them cause it got permition but never let it go when you stood up, more rare that one nowadays tho. if you create a prim, and edit content, create script, add this; key stopme; default { state_entry() { llSetTouchText("STOP"); } touch_start(integer total_number) { stopme = llDetectedKey(0); llRequestPermissions(llDetectedKey(0),PERMISSION_TRIGGER_ANIMATION); } run_time_permissions(integer a) { if (a & PERMISSION_TRIGGER_ANIMATION) { string null=(string)NULL_KEY; list a=llGetAnimationList(stopme); integer b; for (b;b<llGetListLength(a);b++) { if (llList2String(a,b)!= null ) { if(llList2String(a,b) != "2408fe9e-df1d-1d7d-f4ff-1384fa7b350f") { llStopAnimation(llList2String(a,b)); } } } } } }
whenever you touch that prim it will ask to stop your avatar, got it on my top hud, scaled down myself.
|
|
Sidona Babeli
Registered User
Join date: 19 Mar 2006
Posts: 27
|
07-24-2006 17:06
Thanks alot! Im sure this will save me a lot of grief.
Out of curiosity, coming from someone who has never created anything ingame, what do you mean by create a prim? Just create any old object and store in inventory ( connect to HUD if I use one)?
Thank you again, Sid
|
|
Thili Playfair
Registered User
Join date: 18 Aug 2004
Posts: 2,417
|
07-24-2006 17:18
Yus, any shape prim , just attach it to hud after you picked it up ,can also just right click on it and attach to hud, but eh its bit odd sometimes , so tend to pick it up before attach things myself. right click when its in inventory , attach to hud > center usually easiest < it will be quite big tho, so just scale it using stretch, then right click it, edit, there is a More >> ,, click that and you can see more options , then content , click new script, copy paste the thing i wrote there, and save (wait till its done -.- kinda flaky) whenever you click on it , it will ask to stop you, just we cant lock hud attachment, so if you take it off , you need to attach it if you want to use it again, but you can just drop it on ground to really, anyone who click on it, will try to stop any anim they are in.
Can give you a huddy thing i made awhile ago, it has the stop button and various other things, freebee (if i ever find it -.-)
|