ScreenShake

Makes the screen shake.

Postal III Ultrapatch+Angel v1.3.0+ Feature

The following function will only work in Postal III Ultrapatch+Angel v1.3.0 or higher.

Syntax

ScreenShake [duration],[radius],[amp],[freq] -- Creates a screen shake.

Note

If no radius, amp, or freq are defined as parameters, the default value of them will be 750(radius), 1.5(amp), and 20(freq) respectively.

Example


// This will make the screen shake for 3 seconds, that is if the Player is near this entity.
pt_default
{
    actions
    {
        ScreenShake 3
    }
}