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