Retrieves the parameters for a game sound.
Game sounds are found in a game's scripts/game_sound.txt or other files referenced from it
Note that if a game sound has a rndwave section, one of them will be returned at random.
bool GetGameSoundParams(const char gameSound, int& channel, int& soundLevel, float& volume, int& pitch, char sample, int maxlength, int entity)
Name of game sound.
Channel to emit with.
Sound file name relative to the "sounds" folder.
Maximum length of sample string buffer.
Entity the sound is being emitted from.
True if the sound was successfully retrieved, false if it was not found