#----------------------#
-- LOON -- #
#----------------------#
include "std:file/path.alx"
#----------#
Constants #
#----------#
constant LOON_SOUND_PATH=
joinPath(["res.lmn", "sfx" "animal" "loon-call-42438.ogg"])
#--------#
Scripts #
#--------#
#----##----##----##----##
script onEnterZone=function onEnterZone() {
call emitSoundEffect([self, LOON_SOUND_PATH, 5%])
call emitSoundEffect([self, self_id, LOON_SOUND_PATH, 5%])
return()
}
#----##----##----##----##
```