Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

I need a Walk Replacer script?

Sweetheart Baskerville
Registered User
Join date: 1 Jan 2004
Posts: 32
01-17-2006 14:39
I am willing to pay for a walk replacer script...I make my own shoes to wear and I would love to have my own script for them, where I add my own or a bought animation to put in them...If someone can either make this for me or either a freebie one walking around somewhere please let me know... IM me inworld or post it here...My nick is Sweetheart Baskerville...
Thank You, Juliea
Exile Loudon
Aspiring Scripter
Join date: 10 Dec 2005
Posts: 122
01-17-2006 15:46
You can just place an Animation Overrider in them; Theres a free one on the scripting library.
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
01-17-2006 16:01
From: Sweetheart Baskerville
I am willing to pay for a walk replacer script...I make my own shoes to wear and I would love to have my own script for them, where I add my own or a bought animation to put in them...If someone can either make this for me or either a freebie one walking around somewhere please let me know... IM me inworld or post it here...My nick is Sweetheart Baskerville...
Thank You, Juliea

CODE

integer is_walking = FALSE;
walking(integer status)
{
if(status == is_walking) return;
if(status)
{
llStopAnimation("walk");
llStartAnimation("replacement-walk");
}
else
{
llStopAnimation("replacement-walk");
}
is_walking = status;
}
take_controls()
{
llTakeControls(CONTROL_FWD|CONTROL_BACK|CONTROL_LEFT|CONTROL_RIGHT,TRUE,TRUE);
}
request_controls()
{
if(!llGetAttached()) return;
if(llGetPermissions() & PERMISSION_TAKE_CONTROLS)
take_controls();
else
llRequestPermissions(llGetOwner(),PERMISSION_TAKE_CONTROLS);
}
default
{
state_entry()
{
request_controls();
}
on_rez(integer param)
{
request_controls();
}
run_time_permissions(integer perm)
{
if(perm & PERMISSION_TAKE_CONTROLS)
take_controls();
}
attach(key agent)
{
if(agent) request_controls();
}
control(integer id, integer held, integer changed)
{
if(llgetAgentInfo(llGetOwner()) & AGENT_WALKING)
walking(TRUE);
else
walking(FALSE);
}
}
Kage Seraph
I Dig Giant Mecha
Join date: 3 Nov 2004
Posts: 513
01-17-2006 16:17
Another option is to do an inworld search on the franimation overrider. It is open source, so be sure to honor the licensing terms (Argent rightly alerted me to this).