Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clone this wiki locally
GHI_PlayAreaSound(path, range, delay)
GHI_PlayAreaSound has 2 required arguments and 1 optional argument.
- The path to the sound being played. Remember to use double backslashes.
- The range in which the sound can be hard measured in meters / yards.
- delay [optional]
- The delay between item use and sound playing in seconds.
local sound = "sound\\music\\zonemusic\\northrend\\northrendtransport\\nr_northrendtransportgeneralday";
GHI_PlayAreaSound(sound, 20, 10);
This script plays the specified sound in a 20 meter / yard radius after a 10 second delay.