llGetLocalRot
LSLrotation llGetLocalRot()
Returns the rotation local to the root.\ Returns the local rotation of a child object relative to the root.
Takes no parameters.
Energy
10
The Linden Scripting Library — what every SL-compatible grid provides.