ShakeViewport Environment Effects 6.0 OC void int level The strength of the shake in pixels. As a point of reference, for explosions, the shake strength is the same as the explosion level. int x X offset in relative coordinates from the calling object. int x Y offset in relative coordinates from the calling object. int range Range from shake center at which the effect falls off to zero. Defaults to 700. Shake the player viewports near the given position. This disorienting effect is used for earthquakes, explosions and other rumbling effects. The further away the player is from the source, the less his viewport is shaken. The strength falls off linearly by distance from 100% to 0% when the player is [range] pixels away. SetViewOffset