Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

I need a good drinking scritp Please...

perttu Kitty
I was here?
Join date: 17 Dec 2004
Posts: 23
06-06-2005 20:33
All the scripts i have found in the dinks i've seen soo far had been buggy and usually have a PERMISSION_TRIGGER_ANIMATION error that is sent to people whenever they try and detatch it, i would love it if someone could post or IM me a working one i can put in drinks i give out to people.

Rock out,
~Perttu
_____________________
There's enough hatered in the world we don't need any on Second Life.
nonnux white
NN Dez!gns
Join date: 8 Oct 2004
Posts: 90
06-07-2005 03:54
u can have your problem resolved if u read what Kali Dougall wrote in here:
/54/24/49256/1.html#post521930

why are u double posting?
_____________________
perttu Kitty
I was here?
Join date: 17 Dec 2004
Posts: 23
06-07-2005 08:45
I'm posting a new thread because i tried fixing the old script and it didn't work, so i still need a bug free drinking script.
_____________________
There's enough hatered in the world we don't need any on Second Life.
Petteri Yiyuan
Registered User
Join date: 4 Mar 2007
Posts: 56
08-31-2007 04:06
integer flag = 0;


default
{
state_entry()
{
llRequestPermissions(llGetOwner(),PERMISSION_TRIGGER_ANIMATION);

}

run_time_permissions(integer parm)
{
if(parm == PERMISSION_TRIGGER_ANIMATION)
{
//llWhisper(0," ";);

llSetTimerEvent(15);

llStartAnimation("hold_R_handgun";);
}

}

on_rez(integer st)
{
llResetScript();
}

attach(key id)
{
llStopAnimation("hold_R_handgun";);
}




timer()
{

if(flag == 1)
{
llStartAnimation("drink";);
}

if(flag == 3)
{
llStartAnimation("drink";);
}

flag = flag + 1;

if(flag == 4)
{
flag = 0;
}

}




listen(integer channel, string name, key id, string message)
{
}


}