I have searched the forums and Code Archs and have had no luck finding an example code for a camera shake.
Do any of you have one collecting dust on your HD?
thx :)
Do any of you have one collecting dust on your HD?
thx :)
If Entitydistance(camera,bomb) < 10 ; if you are close to the explosion shake_rnd_a = rnd(5)+ 1 : shake_rnd_b = rnd(6)+ 1 ; load 2 variables with random numbers etc Turnentity camera,shake_rndx,0,shake_rnd_b ; apply the variables to the camera's 'turn' command (not rotateentity) Endif