Sound Result

Returns the allocated sound channel

Syntax

channel=Sound Result

Description

channel is the index of the channel that was last allocated to a sound using either the Play Sound or Loop Sound command.

It can be a number between 0 and 3 inclusive. If it returns -1 then that indicates it did not have a high enough priority to be played and therefore was not allocated a channel.


Table of contents