isMissionAudioFinished
Client-side
Reports natural completion after playback has started.
Syntax
bool isMissionAudioFinished(int handle)Arguments
handleintOwned played handle.
Returns
true after natural completion; false before playback, while playing, or for invalid ownership.
Ownership and lifecycle
Mission-audio handles belong to the resource generation that created them and are released on stop. Mission-passed tunes are local one-shot frontend tracks and create no handle.
Where this comes from
SOURCECLuaAudioDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaAudioDefs.cpp INTRODUCED / EXTENDED28b42898bRead the commit and why the change was made RELATED CATEGORY HARNESS native-mission-audio-test Category-level coverage · test-resources/native-mission-audio-test
RELATED NEON APIS
Read the system guide → Continue exploring
← Back to the Neon Lua API · How Native mission and frontend audio works →