Jump to content

Agent242

Resident
  • Posts

    4
  • Joined

  • Last visited

Reputation

0 Neutral
  1. Will do that instead. Thank you so much!
  2. Okay, so I solved it somewhat, by starting a 5 second timer event that resets the script every 5 secs, it keeps the pose without easing in if already playing and otherwise it starts the pose again. Is this an awful practice that will cause sim lag, or is it acceptable for a script?
  3. It seems to keep working when I sit on a chair for instance, but then when I stand up, it stops working. It doesn't seem to me that any animation would be played when getting off the furniture. Is it because the act of standing from the furniture withdraws all permissions?
  4. Hi I made a keychain with a hold animation and a acript to play the animation. The animation is priority 6, but still it seems to get overridden all the time (finger poses change with AO, animation stops after sitting on furniture, etc.) Is there any way to ensure that the pose stays in place as long as the object is held. I assumed priority 6 would do it. The pose has an ease in/ease out animation, so not sure if restarting it on a timer would be such a good idea. would love some help. Here is the script I am using: string animation_name = "hold"; default { // Whenever this object is attached or detached... attach(key id) { if (id) { // If it was just attached, request permission to animate. llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION); } else { // It's being detached... if (llGetPermissions() & PERMISSION_TRIGGER_ANIMATION) { // If we have permission to animate, stop the animation. llStopAnimation(animation_name); } } } // Whenever permissions change... run_time_permissions(integer permissions) { if (permissions & PERMISSION_TRIGGER_ANIMATION) { // If permission to animate was granted, start the animation. llStartAnimation(animation_name); } } }
×
×
  • Create New...