RotateEntity this\entity%,EntityPitch(this\entity%)+Rnd(-x#,x#),EntityYaw(this\entity%)+Rnd(-y#,y#),EntityRoll(this\entity%)+Rnd(-z#,z#)
You know there is a turnentity() command there for a reason. :-)
That said, I don't reccomend you rotate the camera for your shake. Just move it about. Turning it will probably make a lot of players sick, and objects in the distance will move about a lot more than objects up close. Also, in movies, the effect is done my shaking the camera, not by tilting it, and people often expect what they've seen in movies, rather than what might happen in real life.
Of course, it's just a suggestion. Rules are made to be broken. :-)
You know there is a turnentity() command there for a reason. :-)
That said, I don't reccomend you rotate the camera for your shake. Just move it about. Turning it will probably make a lot of players sick, and objects in the distance will move about a lot more than objects up close. Also, in movies, the effect is done my shaking the camera, not by tilting it, and people often expect what they've seen in movies, rather than what might happen in real life.
Of course, it's just a suggestion. Rules are made to be broken. :-)