ModuleConfig.addWaveFile

Adds a wave file to the given module.

class ModuleConfig
Tag
addWaveFile
(
string path
,
string modID
,
int waveID
,
string dpkPath
,
string name
)

Parameters

path string

the path of the wave file.

modID string

the ID of the module, that will use the wave file.

waveID int

the ID of the waveform to be loaded.

dpkPath string

path to the DataPak file if there's one.

name string

name of the waveform if there's one specified.

Return Value

Type: Tag

The tag that was added to the configuration file, or null on error.

Meta