|

ResultVariable


When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.


See also: Related Actions


image

image

Audio.Load

OverviewExamples

Audio.Load ( number Channel,


string Filename,


boolean PlayAutomatic = false,


boolean Loop = false )


De s cr ip t ion


Loads an audio file into an audio channel.


P arame t er s


Channel


(number) The audio channel to load the file into:



CONSTANT


VALUE DESCRIPTION


CHANNEL_BACKGROUND


5


Background audio channel.


CHANNEL_EFFECTS


0


Effects channel (used for mouse over, down, and click sounds).


CHANNEL_NARRATION


6


Narration channel (used for voice overs).


CHANNEL_USER1


1


User channel 1.


CHANNEL_USER2


2


User channel 2.


CHANNEL_USER3


3


User channel 3.


CHANNEL_USER4 4 User channel 4.


image

|