Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Freezing your avi

Rock Ryder
Registered User
Join date: 6 Oct 2006
Posts: 384
01-23-2008 07:02
Hi guys,

Is there a way in scripting to simply freeze your own avatar? I don't mean going into a standard 'T' stance, as with pose stands, I mean to instantly freeze your avi in whatever position it is in at the time.

Thanks

Rock
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
01-23-2008 07:34
You can use llMoveToTarget in an attachment to effectively "fix" your avatar in position, but there is no way to "freeze" animations. All running animations will complete, and any new ones started will run, unless you detect them and tell them to stop. You can always start a high-priority overall "frozen" animation, but the transition to it will be jerky unless you make it with a decent "ease in" time.
Rock Ryder
Registered User
Join date: 6 Oct 2006
Posts: 384
01-23-2008 10:56
From: Talarus Luan
.... but there is no way to "freeze" animations....


I assume you mean 'with scripting', because as a sim owner I can right-click griefers and freeze them, no matter what they are doing at the time. In this specific case I want to freeze myself, as I am tired of being out shopping, and someone close by starts to chat (not to me, but to someone else) and my heads swings round to face the chat, as if I am nosy or something. If I am staring at some item in the store, (and usually answering IMs at the same time) I want to freeze my avi in place so I am not constantly changing my stand pose, and swinging my head back and forth when any chat occurs.

Rock
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
01-23-2008 11:57
Hold down the ALT key, click and drag with the mouse. If you position your camera this way to focus on the product you are interested in (the spot you clicked), your avatar's eyes will not leave the point you have focused on no matter who chats. Played animations might change that, but environment will not.

Pressing ESC (maybe a few times if a UI window has focus) or a movement key will snap your camera back to its usual location behind your avatar (or to wherever the camera position has been set by a script).
Cryas Tokhes
Great Googley Moogley...
Join date: 8 Feb 2006
Posts: 124
01-23-2008 15:45
Yes.

Look at the wiki for llRequestPermissions and also llTakeControls.

What it actually does is take over the input controls. Can allow them to be read, passed; or in this case, not passed. probably the only thing that someone can do is go into mouse looks and turn around, but this should fit your needs.

This only freezes movement, any animation that is currently playing will continue playing and finish if not looped.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
01-23-2008 19:53
yes, you can freeze your av, even in mid animation, no script required (in fact I don't see a script being able to pull off this trick)

open edit window, when your av gets somewhere you want to freeze it at, click any attachment. congrats, you're locked in place.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
01-23-2008 20:56
From: Rock Ryder
I assume you mean 'with scripting', because as a sim owner I can right-click griefers and freeze them, no matter what they are doing at the time.


From: Rock Ryder
Is there a way in scripting to simply freeze your own avatar?


You assume correctly, since you set the context of the question yourself in your OP. ;)

From: someone
In this specific case I want to freeze myself, as I am tired of being out shopping, and someone close by starts to chat (not to me, but to someone else) and my heads swings round to face the chat, as if I am nosy or something. If I am staring at some item in the store, (and usually answering IMs at the same time) I want to freeze my avi in place so I am not constantly changing my stand pose, and swinging my head back and forth when any chat occurs.


Not easily with scripting, but as others have suggested, you can munge with the UI to accomplish this somewhat.
Squirrel Wood
Nuteater. Beware!
Join date: 14 Jun 2006
Posts: 471
01-23-2008 23:59
animation overrides are your best friend.