Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

'Sit' Avatar by demand everywhere? how?

Sofia Weir
Registered User
Join date: 5 Feb 2007
Posts: 26
04-20-2007 01:40
Hello

I have created a HUD that is supposed to perform some animations when activated. the way it works is like this:
A> When the user clicks on the major HUD on/off button the avatar is supposed to be frozen in place, exactly like 'sitting'
B> The user can control the animations using the HUD and control button combinations.

It is imperative that the user is "frozen " in place when the hud is active, so the animations are directed towards the current direction that the AV is heading.

The problem is that when i use the camera controls to see my AV from a different angle, and then I press the ctrl buttons (in order to play the chosen animations, remember I have taken the controls and assigned the animations to them ), The AV changes position, heading away from the camera, and the camera moves automatically behind and above her at the default position.
Its like what happens normally when you change camera angles and then press the fwd or bckwd buttons.

When the same HUD script is dropped in an object (A pose ball for example), and the AV 'Sits' on it. ALL work the way it should be, the AV is controled by the buttons, and the camera angle does not change when i use the control buttons.

Is there any way to disable this default 'motion' of the camera and the AV heading using script?
Like 'siting' in place, but without actually sitting on an object.

more like "forcing" your av to 'Sit' where she stands via script!....

Thanx
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
04-20-2007 06:22
there is no way to use a script to force an avatar to sit. Yours, or anyone else's.

You could have your unit "take controls" and thus disable MOST avatar movement.... but that's going to be messy.. and you can still be bumped or pushed. There is no way to "turn" the avatar to look at something (or someone) either.

Rather than using controls to actvate your animations.. how about clickable buttons on a HUD?

Wouldn't it be easier to rez a poseball?
_____________________

● Inworld Store: http://slurl.eclectic-randomness.com
● Website: http://www.eclectic-randomness.com
● Twitter: @WinterVentura
Sofia Weir
Registered User
Join date: 5 Feb 2007
Posts: 26
Rez poseball?
04-20-2007 06:43
Well
I dont want to create HUD buttons for the particular animations if i have a choice since they are not "one click" animations, but require more active and direct participation from the user "Click and Hold", "click,click,clik" etc

Like I said I disabled all the movement controls, but if i use the camera controls to have a better look of the scene, when i press one of the movement buttons the camera goes at the default position, and the AV rotates to show me her back, facing away from the screen.
(As it normally happens)

I considered to rez somekind of ball in order to sit on it, But I dont want to right click-> sit on the item.

I whould prefer if the sit happened via script.
Could this be possible?
Twisted Pharaoh
if ("hello") {"hey hey";}
Join date: 24 Mar 2007
Posts: 315
04-20-2007 06:55
You cannot sit on a target, but you can animate a sit at the avatar position and eventually move a furniture at the right place where it would sit. You can also make sit the defaut action on a ball so the avatar would only have to touch it.