proc
Quake_Effect(mob/M,duration,strength=1)
if(!M.client)return
spawn(1)
var/oldeye=M.client.eye
var/x
for(x=0;x<duration,x++)
M.client.eye = get_steps(M,pick(NORTH,SOUTH,EAST,WEST),strength)
sleep(1)
M.client.eye=oldeye
This is AbyssDragon's QuakeEffect
But I can't figure it out how to use it properly.
He left no demo on how to use this.
http://developer.byond.com/hub/AbyssDragon/QuakeEffect
And yes I downloaded the Basic Math you needed to run this.
Please explain how to use this!
QuakeEffect(mob,ticks,how far it moves)