Call of Duty 4: Scripting Reference - Animation::GetNotetrackTimes
From COD Modding & Mapping Wiki
GetNotetrackTimes(<animation>, <note track>)
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:
exitAlignTimes = GetNotetrackTimes( exitAnim, "exit_align" );
- <animation> an animation
- <note track> a constant string with the name of the note track