Jump to content
  • 0

Revoke animation permissions


mcoban2005
 Share

You are about to reply to a thread that has been inactive for 4066 days.

Please take a moment to consider if this thread is worth bumping.

Question

7 answers to this question

Recommended Posts

  • 0

You want what? Remove the accept dialog or revoke permissions you already granted? Former is a general bad idea because it would everyone playing any animation on you, like deform you, play silly animations (head stuck in your butt etc.). Latter is not possible. If you granted permissions to a scripted object, it will keep that permission until it is reset.

  • Like 2
Link to comment
Share on other sites

  • 0

Yes. You are right. However I have a problem. I have to yes/no pop up every step and every animation.

I want that.

ok. I have three objets?

1.Object = for animation permissions ()

2. Object= animation playing..I am NOT want that animation yes/no permissions????

3. Object=animation playing (animations in different objects)

4....

5....

 

1. Object Codes:

default

{

state_entry()

{

llRequestPermissions(llGetOwner(),

//Comment out any of the following lines for fun

PERMISSION_DEBIT |

PERMISSION_TAKE_CONTROLS |

PERMISSION_TRIGGER_ANIMATION |

PERMISSION_ATTACH |

PERMISSION_CHANGE_LINKS |

PERMISSION_TRACK_CAMERA |

PERMISSION_CONTROL_CAMERA |

0);

}

touch_start(integer a)

{

integer perm = llGetPermissions();

if(perm & PERMISSION_DEBIT)

llOwnerSay("Can use llGiveMoney");

if(perm & PERMISSION_TAKE_CONTROLS)

llOwnerSay("Can use llTakeControls");

if(perm & PERMISSION_TRIGGER_ANIMATION)

llOwnerSay("Can use llStartAnimation");

if(perm & PERMISSION_ATTACH)

llOwnerSay("Can use llAttachToAvatar");

if(perm & PERMISSION_CHANGE_LINKS)

llOwnerSay("Can use llCreateLink");

if(perm & PERMISSION_TRACK_CAMERA)

llOwnerSay("Can use llGetCameraPos");

if(perm & PERMISSION_CONTROL_CAMERA)

llOwnerSay("Can use llSetCameraParams");

}

run_time_permissions(integer perm)

{

if(perm & PERMISSION_DEBIT)

llOwnerSay("Can use llGiveMoney");

if(perm & PERMISSION_TAKE_CONTROLS)

llOwnerSay("Can use llTakeControlls");

if(perm & PERMISSION_TRIGGER_ANIMATION)

llOwnerSay("Can use llStartAnimation");

if(perm & PERMISSION_ATTACH)

llOwnerSay("Can use llAttachToAvatar");

if(perm & PERMISSION_CHANGE_LINKS)

llOwnerSay("Can use llCreateLink");

if(perm & PERMISSION_TRACK_CAMERA)

llOwnerSay("Can use llGetCameraPos");

if(perm & PERMISSION_CONTROL_CAMERA)

llOwnerSay("Can use llSetCameraParams");

}

}

 

2. Object code? for example llstartAnimation("sit") how I playing not permission ????? Already permissions granted by 1. Object .

 

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4066 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...