Earthquakes cause the screen to shake for about 4 seconds and debris to fly. During this time, a sector's slope can be manipulated.
Create the sectors which will be sloped during the earthquake (this
is optional). The slope can be a maximum of 4 units (equivalent to 3 [
or ]
keypresses). Place the following sprites in the earthquake sector(s): S[0,2], D[Delay,Channel]
. Make sure the sprites are directly on the ground of the slope (use Ctrl + PGDN
on them). For Delay, a value of 32 is equal to 1 second. The slope will automatically flatten at pre-map.
Place either a T[0,Channel]
, or a switch tagged [ActivationSound,Channel]
somewhere in the map (to trigger the earthquake). Optionally, an S[0,33]
will spawn debris whenever an earthquake occurs anywhere in the map.
Place as many as you want and raise them to the height at which you
want the debris to spawn.