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

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


GetNotetrackTimes(<animation>, <note track>)

Module: Animation

Summary:

Gets an array of the times during an animation that the given notetrack occurs. The times returned are fractional (0 to 1).


Call this on:

Example:

exitAlignTimes = GetNotetrackTimes( exitAnim, "exit_align" );

Required arguments:

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


Optional arguments:

none


Notes:

none