From: Sham Omlet
1. The piston will not move when the entire assembly is linked together.
Is there a way to make the object move when it is linked to others?
As soon as this becomes a child prim, things will work a little differently, namely llSetPos will be setting the position in relation to the root prim, so you'll want to look into using llGetLocalPos to get the local position relative to the root prim and go from there.
From: Sham Omlet
2. There is no way to synch the up and down movements of the independant piston scripts.
Unless maybe messages to each other but that seems like a terrible idea?
Yes, you'll need to use messages, but that's not a bad thing. Look into llMessageLinked for sending messages between linked prims.
From: Sham Omlet
1. Would it be possible to keep the pistons in the cylinder and have them rez fully extended when in the correct position when the cylinder is rezed? If both pistons were controlled in one script it would mean I could synch them easily enough.
I'm a bit confused by your wording here, but I think what you want is for them to rez in a correct position, in which case you can set their positions on rez, but I wouldn't think this is necessary.
From: Sham Omlet
2. When the cylinder is worn on the spine, the above script doesnt work any more. Should I use an animation overrider or something to lock the default AV in one position? So that when you move around the map the cylinder does not move with the spine. Also, is there anyway to script this?
I'm not sure I completely understand you, but I think your problem here again is from llGetPos, which in an attachment returns the position of the avatar wearing the attachment in region coordinates.
As far as overall strategy, I would recommend the following approach:
Have one controller script that sends link messages to each scripted piston when they should go up or down. This should be fairly straight forward, but ask again if you need help figuring things out.
From: Sham Omlet
Hopefully somebody has the time to help me out.
I'm not at work right now... really, I'm not.
~Az