Call of Duty 4: Scripting Reference - AI::AnimCustom

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search


AnimCustom( <animscript> )

Module: AI
SP Only

Summary:

Sets the anim script for this actor.


Call this on: <actor> An actor

Example:

self AnimCustom( animscripts\scripted\stalingrad_cover_crouch::main );

Required arguments:

  1. (const string) The script name to run.


Optional arguments:

none


Notes:

none