Jump to content
  • 0
Rumancekk

looking to edit a script/item...

Question

I don't know anything about scripting but the script I have for a spanker looks editable. I like  it, mostly for the noise that comes with it but not the animation. I looked in the contents and the animation is in it but is there a way for me to remove it or choose a different one?

 

 

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 1

If you have mod permissions for the object, then yes, you can yank the anim out and replace it with another one.  There's no guarantee that if will work, of course. The scripter may have designed the unit to work with that one specific anim.  If so, you'll have to modify the script itself to trigger a different anim.

Share this post


Link to post
Share on other sites
  • 0
10 minutes ago, Rolig Loon said:

If you have mod permissions for the object, then yes, you can yank the anim out and replace it with another one.  There's no guarantee that if will work, of course. The scripter may have designed the unit to work with that one specific anim.  If so, you'll have to modify the script itself to trigger a different anim.

that's what i intended to do, i'm just not sure exaclty how to do it.

the script says this:

  touch_start(integer total_number)
    {
        llStartAnimation("asslap");

 

i am guessign if i can get another animation in there, i can replace that line with the name of the new animation. but what if i just want to get rid of the animation all together?

i just don't know how to do that. I could post the whole script here but I'm worried about it being illegal or something to do that. it's not very long.

edit:

also i'm not sure how put a new animation in there. do i just drag it to the contents folder from my inventory?

 

Edited by Rumancekk

Share this post


Link to post
Share on other sites
  • 0

In that case, get rid of the whole line. :)

The nice thing about working with scripts in objects that you can copy is that you can experiment to your heart's content.  Try doing something.  If it works, great.  If it doesn't, throw it in the trash and try again. That's how most of us get bitten by the scripting bug in the first place.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...