GetDialogSoundLength

From NWN Lexicon



Contents

[edit] GetDialogSoundLength(int)

Retrieves the length of a wave (audio) file in seconds.

float GetDialogSoundLength(
    int nStrRef
);

[edit] Parameters

nStrRef

Numeric reference to a string with spoken audio.


[edit] Description

Retrieves the length of an audio wave (*.wav) file in seconds. Only works for sounds used for dialog.



[edit] Remarks

nStrRef is an index into the dialog.tlk or custom-made .tlk file.


[edit] Version

1.61

[edit] See Also



 author: Charles Feduke, editor: Lilac Soul
 

Personal tools
Categories