ScrapHacks/Py_Docs/SSound.md
Daniel Seiller 7afdfb5869 Lots of changes, expand to read
- Add notes folder with MDBook documentation (the NOTES.md file was getting kind of large)
- Add rz_analyze.py, does the same a r2_analyze.py just with Rizin instead of radare2 so the project can be loaded in Cutter (*and* it's faster)
- Add Scrap.rzdb, Rizin database for the Scrap.exe executable
- Add Scrapper_rs, Rust version of .packed extractor and repacker
- replace helplib.txt with helplib.md
- add Py_Docs folder which contains generated documentation for the binary python modules built into Scrap.exe
2021-01-20 23:53:14 +01:00

72 lines
2.1 KiB
Markdown

# SSound
- *StopVoice*: `<built-in function StopVoice>`
```
StopVoice(channel) : stop a voice on the specified channel.
```
- *Play*: `<built-in function Play>`
```
Play('soundname'[,vol,pan]) : ejecuta un sonido con el volumen deseado.
```
- *PlaySound*: `<built-in function PlaySound>`
```
PlaySound((x,y,z),'soundname',vol[,AttenIni,AttenEnd,Doppler]) : ejecuta un sonido en la posicion dada con el volumen deseado.
```
- *SetMusic*: `<built-in function SetMusic>`
```
SetMusic('soundname'[,vol]) : set the file of the background music.
```
- *LoadSound*: `<built-in function LoadSound>`
```
LoadSound(soundfile) : carga un sonido desde un archivo empaquetado.
```
- *OpenVoice*: `<built-in function OpenVoice>`
```
OpenVoice(name,channel) : Preload a voice on a channel.
```
- *StopAllSounds*: `<built-in function StopAllSounds>`
```
SCRAP_StopAllSounds() : para todos los sonidos.
```
- *SetMusicVolume*: `<built-in function SetMusicVolume>`
```
SetMusicVolume(vel) : set the volume of the background music.
```
- *UsePS*: `<built-in function UsePS>`
```
UsePS(Name) : Crea un nuevo sonido posicional
```
- *SetVoiceString*: `<built-in function SetVoiceString>`
```
SetVoiceString(channel,volume) : set string user data of a voice.
```
- *VoiceRemain*: `<built-in function VoiceRemain>`
```
VoiceRemain(channel,time) : return the remaining time of a voice.
```
- *CreatePS*: `<built-in function CreatePS>`
```
CreatePS(Name) : Crea un nuevo sonido posicional
```
- *SetPS*: `<built-in function SetPS>`
```
SetPS(name,varname,value) : Modifica el valor de una variable de un sonido posicional
```
- *PlayVoice*: `<built-in function PlayVoice>`
```
PlayVoice(channel) : play a voice loaded on the specified channel.
```
- *DeleteAllSounds*: `<built-in function DeleteAllSounds>`
```
SCRAP_DeleteAllSounds() : elimina todos los sonidos.
```
- *GetPS*: `<built-in function GetPS>`
```
GetPS(name,varname) : Obtiene el valor de una variable de un sonido posicional
```
- *SetVoiceVolume*: `<built-in function SetVoiceVolume>`
```
SetVoiceVolume(channel,volume) : set the volume of a voice.
```