Jump to content

LuckyJunior Serrari

Resident
  • Content Count

    20
  • Joined

  • Last visited

Community Reputation

0 Neutral

About LuckyJunior Serrari

  • Rank
    Member
  1. Hey all, I have a pose vendor script that I am trying to modify to my needs. I have everything working as I want, with the exception of the permissions needed to run the animations correctly. At the moment, when the script is reset and I stand my main avatar on the pose stand everything is working as intended. If I again reset the script, but place my alt avatar on the stand, my alt just sits - no error messages. The controls to switch the animations in the stand works as intended, but no animation is played, just a default sit. Upon standing, I get the "Script trying to stop animations but PERMISSION_TRIGGER_ANIMATION permission not set" error. If I place my main avatar back onto the pose stand without resetting the script, everything works again - as well as placing my alt onto the stand, everything works. So it seems as the permissions are being granted to my main avatar, and the stand holds those permissions until the script is reset. Somewhere along the line, the script is not granting permissions to others. If someone is able to help me with this and help me understand why its not working correctly, I'd greatly appreciate it. I have a very basic understanding of scripting, but can usually work my way through problems with the help of the wiki and forum searches. This one has me stumped though. I'll include a snippet of the code where I am trying to request the permissions to animate below. changed(integer change) { if(change == CHANGED_LINK) { avatar = llAvatarOnSitTarget(); if(avatar != NULL_KEY) { llRequestPermissions(avatar, PERMISSION_TRIGGER_ANIMATION); start(); } else { if (llGetPermissionsKey() != NULL_KEY) { llStopAnimation(curranim); anim_on = FALSE; default1(); } } } } run_time_permissions(integer perm) { if(perm == PERMISSION_TRIGGER_ANIMATION) { llStopAnimation("sit"); llStartAnimation(curranim); anim_on = TRUE; } } Below are the code for the start() and default1() states. I don't know if the info in them are necessary to solve the problem, but since the above code directs to them, maybe something in there is the cause of the problem? start() { llSetClickAction(CLICK_ACTION_TOUCH); total=llGetInventoryNumber(INVENTORY_ANIMATION); vendorname = llGetObjectName(); counter=0; lastanim = curranim; curranim = llGetInventoryName(INVENTORY_ANIMATION, 0); if (price > 0) { hovertext(); } } default1() { GreetingText(); llSetClickAction(CLICK_ACTION_SIT); llSetTimerEvent(time); } I don't want to post the whole script here, so if more info is needed, I would be glad to share through in world messaging. Thanks!
  2. Hey everyone. I was just wondering if anyone could help me out with a script. I have a script for a pose stand vendor. Its a 3 prim pose stand with the main prim and two arrow prims linked to it to change to the next or previous animation. It is working pretty good, but instead of the person who is standing on it being the only one able to change the animations, anyone around can change the animations for the person standing on it. How can I fix this to where the one standing on the pose stand is the only one able to touch the arrows to change the animation. Here is an excerpt from the script that I believe to be the area that needs to be worked on: touch_start(integer total_number) { if (llGetLinkName(llDetectedLinkNumber(0)) == "next" ) { next(); } else if ( llGetLinkName(llDetectedLinkNumber(0)) == "prev" ) { prev(); } } If more information from the script is needed, please let me know. I don't want to post the whole script here. Thanks! -Lucky
  3. DJ Paulina will be at Cosmic Evolution from 7-9pm SLT (time may vary depending on attendance). She will be playing your favorite tunes and taking song requests. Come join us for a night of excitement. Invite your friends too and let's show everyone that Cosmic Evolution is the place to be! At Cosmic Evolution, we offer you an out of this world experience with a celestial ambience and newcomer friendly people. Music selections blast off in the 70's and rocket into the present. Your favorite songs from any decade (or galaxy) by request are encouraged. So what are you waiting for? Come celebrate the universe with us. We've been waiting for you! Teleport Link: http://snipr.com/27wqu27 Cosmic Evolution Website: http://cosmicevolution.yolasite.com/ Like us on Facebook: https://www.facebook.com/cosmicevolutiondanceclub
  4. DJ Paulina will be at Cosmic Evolution Dance Club playing your favorite tunes and taking song requests from 7-9 PM SLT tomorrow (November 18, 2013). At Cosmic Evolution, we offer you an out of this world experience with a celestial ambience and newcomer friendly people. Music selections blast off in the 70's and rocket into the present. Your favorite songs from any decade (or galaxy) by request are encouraged. So what are you waiting for? Come celebrate the universe with us. We've been waiting for you! Invite your friends as well and lets show everyone that Cosmic Evolution is the place to be! Teleport Link
  5. DJ Paulina will be at Cosmic Evolution Dance Club from 7-9 pm SLT. She will be playing your favorite tunes and taking song requests. At Cosmic Evolution, we offer you an out of this world experience with a celestial ambience and newcomer friendly people. Music selections blast off in the 70's and rocket into the present. Your favorite songs from any decade (or galaxy) by request are encouraged. So what are you waiting for? Come celebrate the universe with us. Invite your friends too and lets show everyone that Cosmic Evolution is the place to be! Teleport Link
  6. DJ Bunny will be at Cosmic Evolution Dance Club from 6-9pm SLT playing your favorite tunes and taking song requests. At Cosmic Evolution, we offer you an out of this world experience with a celestial ambience and newcomer friendly people. Music selections blast off in the 70's and rocket into the present. Your favorite songs from any decade (or galaxy) by request are encouraged. So what are you waiting for? Come celebrate the universe with us. Please invite your friends too so we can show everyone that Cosmic Evolution is the place to be! Teleport Link
  7. DJ Paulina is at Cosmic Evolution Dance Club playing your favorite tunes and taking song requests. At Cosmic Evolution, we offer you an out of this world experience with a celestial ambience and newcomer friendly people. Music selections blast off in the 70's and rocket into the present. Your favorite songs from any decade (or galaxy) by request are encouraged. So what are you waiting for? Come celebrate the universe with us. Invite your friends too and lets show everyone that Cosmic Evolution is the place to be! Teleport Link
  8. DJ Bunny is at Cosmic Evolution Dance Club tonight playing your favorite tunes and taking song requests! She'll be here from 6-9pm SLT, so come on out and join the party. Invite your friends and lets show everyone that Cosmic Evolution is the place to be! Teleport Link
  9. DJ Pauli is at Cosmic Evolution Dance Club playing your favorite tunes and taking your requests. At Cosmic Evolution, we offer you an out of this world experience with a celestial ambience and newcomer friendly people. Music selections blast off in the 70's and rocket into the present. Your favorite songs from any decade (or galaxy) by request are encouraged. So what are you waiting for? Come on out and have a great time with us. We've been waiting for you! Teleport Link
  10. DJ Bunny is at Cosmic Evolution Dance Club tonight from 6-9pm SLT. She'll be playing your favorite tunes from the 70's through today. You don't want to miss out on a night full of excitement! So what are you waiting for? Come on over and invite your friends so we can show everyone that Cosmic Evolution is the place to be ! Teleport Link
  11. DJ Bunny is at Cosmic Evolution Dance Club tonight from 6-9pm SLT. She'll be playing your favorite tunes from the 70's through today. You don't want to miss out on a night full of excitement! So what are you waiting for? Come on over and invite your friends so we can show everyone that Cosmic Evolution is the place to be ! Teleport Link
  12. DJ Pauli will be at Cosmic Evolution Dance Club tonight from 7-9pm SLT playing tunes and taking your requests. At Cosmic Evolution, we offer you an out of this world experience with a celestial ambience and newcomer friendly people. Music selections hover primarily in the 80's, time warp back into the 70's, and rocket into the 90's. Your favorite songs from any decade (or galaxy) by request are encouraged. So what are you waiting for? Come on out and have a great time with us. We've been waiting for you! Teleport Link
  13. DJ Pauli will be at Cosmic Evolution Dance Club tonight from 7-9pm SLT playing tunes and taking your requests. At Cosmic Evolution, we offer you an out of this world experience with a celestial ambience and newcomer friendly people. Music selections hover primarily in the 80's, time warp back into the 70's, and rocket into the 90's. Your favorite songs from any decade (or galaxy) by request are encouraged. So what are you waiting for? Come on out and have a great time with us. We've been waiting for you! Teleport Link
  14. DJ Bunny will be at Cosmic Evolution Dance Club tonight from 6-9pm SLT playing tunes and taking your requests. At Cosmic Evolution, we offer you an out of this world experience with a celestial ambience and newcomer friendly people. Music selections blast off in the 70's and rocket into the present. Your favorite songs from any decade (or galaxy) by request are encouraged. So what are you waiting for? Come on out and have a great time with us. We've been waiting for you! Teleport Link
  15. DJ Bunny will be at Cosmic Evolution Dance Club tonight from 6-9pm SLT playing tunes and taking your requests. At Cosmic Evolution, we offer you an out of this world experience with a celestial ambience and newcomer friendly people. Music selections blast off in the 70's and rocket into the present. Your favorite songs from any decade (or galaxy) by request are encouraged. So what are you waiting for? Come on out and have a great time with us. We've been waiting for you! Teleport Link
×
×
  • Create New...