Call of Duty Script Documentation

# startscriptedanim(<notify>,<origin>,<angles>,<animation>,<mode>,<root>)

## Module

    AI

## Summary

    Runs an animscript on an actor.

## Call this function on

    <actor> An actor

## Example

    driver startscriptedanim("germantruck_driver_closedoor", org , angles, driver.closedooranim);

## Minimum Number of arguments: 4

    1 : <notify> The notify to send
    2 : <origin> The starting position of the anim script
    3 : <angles> The starting angle of the anim script
    4 : <animation> The animation

## Number of optional arguments: 2

    1 : <mode> Valid modes are "normal" and "deathplant"
    2 : <root> The root animation

Return to Function List