See, I'm already kind of lost on what every line is doing. Is this how you'd implement that?
timer()
{
rotation rCargo = llList2Rot(llGetLinkPrimitiveParams(iCargoLink,[PRIM_ROTATION]),0);
vector vCargo = llRot2Fwd(rCargo);
rotation rCargoUpdate = llRotBetween(vCargo, <0.0,0.0,PI/2>);
llSetLocalRot(rCargoUpdate);
}//timer
I figure the idea is that I have a specific vector I want the Cargo prim to be facing,
So I need to check the cargo's current facing vector and compare it to the one I want it to face,
Then rotate the cargo back to that vector?
Alternatively, and this seams like a stupid kludge:
I could just set a timer event to re-position the Cargo prim to the vector I want it to face.