I have part of a script that uses a sound effect and it seems to repeat itself over and over again (or until another sound effect is playing). Not sure what
to do here. I'm using the latest official release of the engine for everything.
Code:
if (pposx == npc x(1) ,and, pposy==npc y(1)) then (
play sound (3,false,false)
alter NPC (1,NPCstat:move type,npcmovetype:standstill)
alter npc (1,NPCstat:picture,3)
death := true
)
play sound (3,false,false)
alter NPC (1,NPCstat:move type,npcmovetype:standstill)
alter npc (1,NPCstat:picture,3)
death := true
)
Cornbread Chemist



