GetDialogSoundLength(int)
Retrieves the length of a wave (audio) file in seconds.
float GetDialogSoundLength( int nStrRef );
Parameters
nStrRef
Numeric reference to a string with spoken audio.
Description
Retrieves the length of an audio wave (*.wav) file in seconds. Only works for sounds used for dialog.
Remarks
nStrRef is an index into the dialog.tlk or custom-made .tlk file.
Version
1.61
See Also
categories: | Conversation Functions | Cut-Scene Functions | Sound Effects Functions |
author: Charles Feduke, editor: Lilac Soul