ok i have just tested and it is working. i have placed a sound zone and it play the wav file up to the end even if i am out of the sound zone area .
script for the sound zone is
-- LUA Script - precede every function and global member with lowercase name of script + '_main'
-- Player Enters Sound Zone
function soundinzone_init(e)
end
function soundinzone_main(e)
if g_Entity[e]['plrinzone']==1 then
PlaySound(e,0)
--Destroy(e)
ActivateIfUsed(e)
end
end
i have just took out the part of Destroy(e) so that it would work every time.
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 4GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11