HELP! script refusing to work on child object

Creating scripts
User avatar
Karen Vela
Posts: 19
Joined: Tue May 14, 2013 6:06 pm
Has thanked: 15 times
Been thanked: 5 times

HELP! script refusing to work on child object

Post by Karen Vela »

I had a change script made for my nail sets in sl. and the hUD shows and changes the textures ON the HUD, but refuses to do anything with the nails themselves. All the names and textures are set right, everything looks good, but it does nothing at all
User avatar
Ilan Tochner
Posts: 6727
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 5249 times
Been thanked: 4674 times
Contact:

Re: HELP! script refusing to work on child object

Post by Ilan Tochner »

Hi Karen,

Does the script have the same owner as the object it is supposed to manipulate? Does the current owner have modify permissions for the object that needs to be manipulated?
User avatar
Karen Vela
Posts: 19
Joined: Tue May 14, 2013 6:06 pm
Has thanked: 15 times
Been thanked: 5 times

Re: HELP! script refusing to work on child object

Post by Karen Vela »

it's all my own items, and the script is mine as well. just frustrated. And os grid and inworlds won't get me past the loading world screen so I cant test it there. it's working perfectly in sl though>
User avatar
Ilan Tochner
Posts: 6727
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 5249 times
Been thanked: 4674 times
Contact:

Re: HELP! script refusing to work on child object

Post by Ilan Tochner »

What LSL functions are you using to modify the object?
User avatar
Karen Vela
Posts: 19
Joined: Tue May 14, 2013 6:06 pm
Has thanked: 15 times
Been thanked: 5 times

Re: HELP! script refusing to work on child object

Post by Karen Vela »

left you a pm
User avatar
Karen Vela
Posts: 19
Joined: Tue May 14, 2013 6:06 pm
Has thanked: 15 times
Been thanked: 5 times

Re: HELP! script refusing to work on child object

Post by Karen Vela »

Ok NOW today, i get all sorts of errors while compiling the nail script?! I didn't get this 2 days ago or in OS? so confused as I know little to none about scripting as it is. in the first pic I took out the offending scale, then it started in on every other part of the script saying it couldn't be doing it?!
Image
Image

I hope I can get this fixed, as most of my items rely on scripting. if I can't fix it, i can't afford to keep the islands I was going to get tomorrow
User avatar
Dundridge Dreadlow
Posts: 616
Joined: Mon May 06, 2013 2:23 pm
Location: England
Has thanked: 590 times
Been thanked: 339 times

Re: HELP! script refusing to work on child object

Post by Dundridge Dreadlow »

Assuming your HUD is communicating with the nails, it sounds like the message is not being correctly received.

It would of course depend on how to you are talking to the other object.

If you can, I'd suggest putting in debug code to see what is happening, especially where the message is sent, received and the object is being changed.

Alternatively, and I doubt this is the problem - If the script is copied directly from SL and edited/saved to your inventory instead of an in-world object, and then dropped onto an object, it might not have compiled correctly and is not working at all. For that one, just edit & save the script actually on the object.
ImageImageImageImageImageImage
PS. Kitely is awesome.
User avatar
Karen Vela
Posts: 19
Joined: Tue May 14, 2013 6:06 pm
Has thanked: 15 times
Been thanked: 5 times

Re: HELP! script refusing to work on child object

Post by Karen Vela »

I did it directly to the object from my saved scripts in my folder from my desktop. Seems to work only in sl, and not other worlds. i have yet to try it on my standalone yet though! As for the other, like I said, i know little to nil about scripting. Every script I have is either open sourced, or I spent a buttload on to have made by another scripter. This is one of those buttload scripts and the original creator left sl after the land price change fiasco
User avatar
Dundridge Dreadlow
Posts: 616
Joined: Mon May 06, 2013 2:23 pm
Location: England
Has thanked: 590 times
Been thanked: 339 times

Re: HELP! script refusing to work on child object

Post by Dundridge Dreadlow »

Yeah. a lot of scripts are like that, there usually needs to be changes in each environment something is run. I think it is probably out of scope of the forum to fix, but if you like, I can have a look at it and see if there is an easily fixed obvious problem. Scripts do need to be saved/recompiled on an in world object to work correctly though.
ImageImageImageImageImageImage
PS. Kitely is awesome.
User avatar
Karen Vela
Posts: 19
Joined: Tue May 14, 2013 6:06 pm
Has thanked: 15 times
Been thanked: 5 times

Re: HELP! script refusing to work on child object

Post by Karen Vela »

yep. tried in my standalone and recompiled in the object, still got the same error. Sending the scripts to IM
Post Reply