Battledale_PRC8/_module/nss/sc_waterspash.nss

10 lines
304 B
Plaintext
Raw Permalink Normal View History

void main()
{
object oEntering = GetEnteringObject();
SetLocalObject(OBJECT_SELF, "Creature", oEntering);
object oSound = GetNearestObjectByTag("WaterSplashes");
SoundObjectSetPosition(oSound, GetPosition(oEntering));
SoundObjectSetVolume(oSound, 127);
SoundObjectPlay(oSound);
}