screenshake
The screenshake command shakes the screen when activated.



"then(screenshake, amount)"


Argument Function
amount The scale of the screenshake occuring. (Anything past 8.0 is overkill!)



And example of the screenshake command used in a script is as follows...




The following script is a simple explosion that shakes the screen as well.


if(destroyed)
{
then(screenshake,4)
then(createexplosion,16,16,48,64)
then(destroy)
}