Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Request for help with resize scripts

Tristus Patton
Registered User
Join date: 27 Dec 2005
Posts: 4
07-27-2007 00:10
Hello all,
Im having a horrible time with some scripts of mine. Where to start.. okay first off, they are, for the most part, the same scripts Im using in two other projects, the only different is the size of the prims.

Okay, the script changes the size of 4 different prims. So, the owner uses a command changing making each one of those prims show or hide (that works fine) and then when they say another command, depening on which prim is showing, it will change the size of the prim thats showing.

Mind you, this script works FINE for both other products. The first two commands work fine, meaning they show and resize fine, but once you go to the third one, all the resizing scripts stop working.

Ive tested it, and the link messages are being sent, and they do get to the prim that is going to change size. I once had a version of this script that change the prim type so I could twist a torsa, and it'd twist just fine, but wouldnt resize. Its also all, one way link messages, meaning, it goes from the listener script, out via link message, and nothing is sent back.

Im very very knew at scripting, so I really have no idea what Im doing, so if anyone could give me suggestions as to how to fix this, or even what would cause all the resize part of alll my scripts to stop working, I'll be very very thankful.

Thank you for taking the time to at least read this.
nand Nerd
Flexi Fanatic
Join date: 4 Oct 2005
Posts: 427
07-27-2007 00:16
Might be worth considering if the prims are within link distance at their new size. Link distance is dependant on the size of the prims and if you try to resize to a size smaller than the link distance allows it will fail to resize without any warning or notice.

Could be something else at play though, I presume from what you said that you've echo'd the link message (in the child script) to confirm that the message is heard and understood okay.

Just and idea but have you considered using llSetLinkPrimitiveParams to set the size of the other prims in the linkset without the need for a script in each prim?
_____________________
www.nandnerd.info
http://ordinalmalaprop.com/forum - Ordinal Malaprop's Scripting Forum