Second 0 Posted May 18, 2007 I'm making mine addon. It should play couple of sound files (.ogg) by using 'say'-command when disarming mine by script. here's example: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class LW_defuze_s { name = "LW mine defuze"; sound[]={"\LW_AP_mine\LW_defuze.ogg",1.000000,1.000000}; When script says like 'guy say "LW_defuze_s"' it doesn't play that sound. But if i first use command 'playsound' (playsound "LW_defuze_s") to that soundfile, then 'say' command starts to work for that specifig sound file aswell... Can someone suggest that what is wrong in here? Adn same happens when playing that sound by trigger of waypoint or what ever... 'playsound' has to be used to that sound before 'say' command plays it. Share this post Link to post Share on other sites
Second 0 Posted May 19, 2007 Problem solved. This topic can be killed/deleted, thank you. Share this post Link to post Share on other sites