"RotateEntity provides the desired effect."
Yes, but if I'm not mistaken, you could replace all of this:
RotateEntity this\entity%,EntityPitch(this\entity%)+Rnd(-x#,x#),EntityYaw(this\entity%)+Rnd(-y#,y#),EntityRoll(this\entity%)+Rnd(-z#,z#)
With this:
TurnEntity this\entity%,Rnd(-x#,x#),Rnd(-y#,y#),Rnd(-z#,z#)
Yes, but if I'm not mistaken, you could replace all of this:
RotateEntity this\entity%,EntityPitch(this\entity%)+Rnd(-x#,x#),EntityYaw(this\entity%)+Rnd(-y#,y#),EntityRoll(this\entity%)+Rnd(-z#,z#)
With this:
TurnEntity this\entity%,Rnd(-x#,x#),Rnd(-y#,y#),Rnd(-z#,z#)