Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Mirror Trick Script

Barrowness Beaumont
Registered User
Join date: 16 Mar 2007
Posts: 262
02-23-2008 04:25
Hi All

I have read the following post:
/54/a4/215229/1.html

and I have tried to use the script given in the thread above...

The problem is it only works when I press escape??...not sure if I am doing something wrong or...

I am not a scripter and I do find scripting VERY hard to get my head round - so my total hats off to those of you that are scriptors *bows in your presence - hehe

Is there anyway that I can add in a standing pose instead of having to have the avatar sit?

Is there anywhere that I could buy a script for this or could anyone help me *flutters eyelids while saying 'pretty please'


TIA

BB :)
Lightwave Valkyrie
Registered User
Join date: 30 Jan 2004
Posts: 666
02-23-2008 17:26
that script changes your camera if you use alt and move your camera it stays there till you hit escape, it should work if you dont move your camera from its default postion when you sit.
and to stand just add a pose script in the prim also.
From: someone

string sit_anim = "turnback_180";//anim pose
vector offset=<0,0,0.5>;
key pilot;

default
{
state_entry()
{
llSetCameraEyeOffset(<3.3, 0.0, 1.05>;);//camera position
llSetCameraAtOffset(<-0.5, 0, 1.05>;);//Camera point of focus

llSitTarget(offset,ZERO_ROTATION);
pilot = NULL_KEY;
}

changed(integer change)
{
key sitting = llAvatarOnSitTarget();
if (change == CHANGED_LINK)
{
if(sitting != NULL_KEY)
{
pilot = sitting;
llRequestPermissions(pilot, PERMISSION_TRIGGER_ANIMATION);
}
else
{
llStopAnimation(sit_anim);
pilot = NULL_KEY;
}
}
}

run_time_permissions(integer perms)
{
if ((perms & PERMISSION_TRIGGER_ANIMATION) == PERMISSION_TRIGGER_ANIMATION) {
llStopAnimation("sit";);
llStartAnimation(sit_anim);
}
}
}
_____________________
L$ is the root of all evil
videos work! thanks SL :)
Barrowness Beaumont
Registered User
Join date: 16 Mar 2007
Posts: 262
02-24-2008 05:32
Thanks for you reply Lightwave :D

I am going inworld now to try it out!!

Thanks again!!

BB :D