Thank you for your response, i am still somewhat new when it comes to scripting, i'm constantly learning as i go..
So I don't quite understand why, but when i tried to edit the script to this, i get the syntax error..
The goal is to simply change what linked piece i click for the show/hide other than the "root" prim.
integer gIntSwing = 90;
rotation gRotSwing;
default{
state_entry(){
gRotSwing = llEuler2Rot( <3.0, 0.0, (float)gIntSwing * DEG_TO_RAD> );
}
touch_start(integer total_number){
if(llDetectedLinkNumber(0) == 3 ) llGetLinkNumber()
{
}
}
touch_end( integer vIntNul ){
if(llDetectedLinkNumber(0) == 3 ) llGetLinkNumber())
llSetLocalRot( (gRotSwing = (ZERO_ROTATION / gRotSwing)) * llGetLocalRot() );
}
}