ID:270010
 
How do I impliment the quake effect?
How do I impliment the quake effect?

If you mean shake around the view you can move around the client.eye randomly around the players location.
In response to Theodis
thanks dude
In response to Darth Vader
i'm still having trouble with the quake effect, when i put it in the game, the screen just goes black, then returns back to the user..here is how I did it.

if(usr.maxpowerlevel >= 100000) (this line is one back from the others)
usr.client.eye = rand(usr.x+3,usr.x-3)
sleep(2)
usr.client.eye = rand(usr.y-3,usr.y+3)
sleep(2)
usr.client.eye = rand(usr.x-3,usr.x+3)
sleep(2)
usr.client.eye = rand(usr.y-3,usr.y+3)
sleep(2)
usr.client.eye = usr
In response to Darth Vader
You're setting the eye to a number not a turf. This causes the screen to go black. You probably want to use locate() to get a turf. Also having such a large range on the client eye movement for the quake effect probably won't look that great. You might want to just limit it to tiles directly adjacent to the player.