Call of Duty 4: Scripting Reference - Animation::AnimHasNotetrack

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


AnimHasNotetrack( <animation>, <note track> )

Module: Animation

Summary:

Queries the given animation for a note track


Call this on:

Example:

if ( IsDefined( facialanim ) && AnimHasNotetrack( facialanim, "dialogue" ) ) ...

Required arguments:

  1. <animation> an animation
  2. <note track> a constant string with the name of the note track


Optional arguments:

none


Notes:

none