Indigo Vargas Posted September 21, 2020 Posted September 21, 2020 Hello, Avatars! I am trying to create a script that will allow an avatar to hold (hide/show) an object and start and stop the holding animation by chat. Basically, The item is added and starts out transparent. A chat command would make the object visible and start an animation that would keep playing until a second command would stop the animation and make the object visible again. I reverse-engineered the hide/show and made a menu from a kit that can make a chat command when a button is pushed. Mostly I need to add the stop/start animation part. Any help would be greatly appreciated. Thanks!!
LittleMe Jewell Posted September 21, 2020 Posted September 21, 2020 1 hour ago, Indigo Vargas said: Hello, Avatars! I am trying to create a script that will allow an avatar to hold (hide/show) an object and start and stop the holding animation by chat. Basically, The item is added and starts out transparent. A chat command would make the object visible and start an animation that would keep playing until a second command would stop the animation and make the object visible again. I reverse-engineered the hide/show and made a menu from a kit that can make a chat command when a button is pushed. Mostly I need to add the stop/start animation part. Any help would be greatly appreciated. Thanks!! This section of the forums is for Feedback on the Forum itself. Many scripting folks will never look in this section. I've reported the post and requested the Mods to move it to the Scripting forum. Here is the link, but please do not double post the question - the Mods will move the thread: https://community.secondlife.com/forums/forum/304-lsl-scripting/
Lindens Kristin Linden Posted September 21, 2020 Lindens Posted September 21, 2020 I've gone ahead and moved this on over to the LSL Scripting section. Hopefully one of the fine folks that lurk in this section of the forums will be able to help you out! 1
Rolig Loon Posted September 21, 2020 Posted September 21, 2020 Starting and stopping animations is very straightforward. All you need to do is request PERMISSION_TRIGGER_ANIMATION and then call either llStartAnimation or llStopAnimation when permission is granted. Take a look at the basic example in the wiki at http://wiki.secondlife.com/wiki/LlStartAnimation#Examples .
Indigo Vargas Posted September 22, 2020 Author Posted September 22, 2020 Thank you for taking time to respond and I really don't mean to be disrespectful but your answer isn't really helpful. I have already read, re-read and experimented with all of those articles and many more before I reached out to the community for help. I thought the goal(s) of my question were pretty straightforward but you didn't propose any actual suggestions or solutions to the question itself. If someone else has some suggestions and examples for my actual question it would be greatly appreciated. Thanks again
Rolig Loon Posted September 22, 2020 Posted September 22, 2020 Sorry. That's the best I can suggest without knowing more about what you are trying to do. I agree that your project is very straightforward, but unless we have some idea of what you have tried and how it is failing, all we can do is guess what's wrong with your script. 1
Recommended Posts
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