Call of Duty Script Documentation

# vibrate(<direction vector>, <amplitude>, <period>, <time>)

## Module

    Motion

## Summary

    Causes a script entity to vibrate, rotating around its origin, along a given vector dir

## Example

    self vibrate(directionVir, 0.3, 0.4, 1.0);

## Minimum Number of arguments: 4

    1 : <direction vector> The direction of the vibration
    2 : <amplitude> The amount of the vibration in degrees
    3 : <period> The period of the vibration in seconds
    4 : <time> The length of time of the vibration in seconds

## Number of optional arguments: 0

Return to Function List