Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Script too large

BTA Jack
Registered User
Join date: 25 Feb 2004
Posts: 1
03-23-2005 16:12
I have a complex object , call it A, with a script that needs more than 16K. So I split off one of the component prims of A, call it B, and divided the original script between A and B. A and B communicate with a hidden channel. When A is rezzed, it automatically rezzes B, which appears to observers to be just part of A, as intended. So everything works fine - until I move A, in which case B stays behind. I don't want B to sense and follow A, because it has to look attached. It has to move with it.

So is there a simple fix for this situation, or am I going about the whole problem the wrong way? Thanks a lot.

BTA
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
03-23-2005 16:28
1) That's 16K per script, not per prim. Really, you can go crazy with the number of scripts in a prim... this is a good and a bad thing. :p
2) Try link messages to pass data between scripts. Much simpler!
_____________________
---