Call of Duty Script Documentation

# rotatepitch( <pitch angle>, <time>, <acceleration time>, <deceleration time> )

## Module

    Motion

## Summary

    Rotate this entity to the given pitch

## Call this function on

    script_model, script_origin or script_brushmodel

## Minimum Number of arguments: 2

    1 : <pitch angle> The new pitch angle in degrees
    2 : <time> The time to rotate in seconds

## Number of optional arguments: 2

    1 : <acceleration time> The time spent accelerating in seconds
    2 : <deceleration time> The time spent decelerating in seconds

Return to Function List