cortex-command-community / Cortex-Command-Legacy-Mod-Converter

MIT License
4 stars 5 forks source link

Add commit cf112 Lua changes #31

Closed MyNameIsTrez closed 6 months ago

MyNameIsTrez commented 3 years ago

:AddSound(<filePath>) -> :GetTopLevelSoundSet():AddSound(<filePath>)

AddSound(<filePath>, <offset>, <attenuationStartDistance>, <abortGameForInvalidSound>) -> GetTopLevelSoundSet():AddSound(<filePath>, <offset>, 0, <attenuationStartDistance>)

AddSound(<filePath>, <soundSetIndex>, <offset>, <minimumAudibleDistance>, <attenuationStartDistance>, <abortGameForInvalidSound>) -> `GetTopLevelSoundSet():AddSound(, , ,

)` `SelectNextSoundSet()` -> `GetTopLevelSoundSet():SelectNextSounds()` `SetSoundPosition(, )` -> `.Pos = ` `SetSoundPitch(, )` -> `.Pitch = `