This is an old revision of the document!
⇐ Index
SetObjRotation(<-Unit “ObjName” <-rotDeg <-world)
Sets the X,Y,Z angle in degrees of a unit's object from the specified rotDeg vector. Objects are the sub-parts that make up a unit. If world is false then the rotation is relative to the object's parent, otherwise the rotation is a world rotation. Note, use “” (empty string) to indicate the root level object.
SetObjRotation(self "Arm" <-rotDeg false)
⇐ Index