GetStrRefSoundDuration(int)

Determine the duration of a sound attached to a string reference.

float GetStrRefSoundDuration(
    int nStrRef
);

Parameters

nStrRef

Target string reference.


Description

Returns the duration of the sound attached to the string reference nStrRef, measured in seconds. Returns 0.0 if no duration is stored or if no sound is attached to the string reference.



Version

1.22

See Also

categories: Sound Effects Functions


 author: Daniel Beckman
 Send comments on this topic.