Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Isn't requesting permissions

Nickolus Lufbery
Registered User
Join date: 14 Oct 2006
Posts: 25
10-12-2008 17:44
I used the linden example code given on their wiki:

default
{
touch_start(integer detected)
{
llRequestPermissions(llDetectedKey(0), PERMISSION_TRIGGER_ANIMATION);
}
run_time_permissions(integer perm)
{
if (perm & PERMISSION_TRIGGER_ANIMATION)
{
llStartAnimation("sit";);
llOwnerSay("animation will end in 5 seconds";);
llSetTimerEvent(5.0);
}
}
timer()
{
llSetTimerEvent(0.0);
llStopAnimation("sit";);
}
}

--------------



it does absolutely nothing, doesn't llownersay either I'm guessing it's because it isn't correctly requesting permissions, anyone?
Nickolus Lufbery
Registered User
Join date: 14 Oct 2006
Posts: 25
10-12-2008 17:53
edit: sorry i got ti working nevermind ;D