UI_play_sound_effect2
UI_play_sound_effect2(int sfx, object obj)
Causes an object to generate a sound effect.
Parameters
| Parameter / value | Description |
|---|---|
sfx |
A numerical value indicating the sound effect that should be played. |
obj |
The object generating the sound effect. The sound intensity decrease as the avatar gets farther away from this object. |