Thank you guys so much !
Reading your replies I tried using Regions, the events "Walk on region" and "Walk off region" suited my necessities:
function region1_WalksOnto()
{soundX.Play();}
function region1_WalksOff()
{soundX.Stop();}
Also the audio clip loops automatically !
Reading your replies I tried using Regions, the events "Walk on region" and "Walk off region" suited my necessities:
function region1_WalksOnto()
{soundX.Play();}
function region1_WalksOff()
{soundX.Stop();}
Also the audio clip loops automatically !