Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of "precache sound2"
From Quake Wiki
(Created page with "''string'' '''precache_sound2'''(''string'' soundPath) == Usage == The same as precache_sound. This was only used for sounds in the registered version of Quake. Using <co...") |
(No difference)
|
Latest revision as of 19:48, 1 August 2023
string precache_sound2(string soundPath)
Contents
Usage[edit]
The same as precache_sound. This was only used for sounds in the registered version of Quake. Using precache_sound()
is preferred.
Parameters[edit]
- soundPath
- The path of the sound file. Supports WAV (.wav) files.
Return[edit]
The passed sound file path. Does nothing.
Example[edit]
// Precache a sound in the monster's initialization function for use later void monster_my_monster() { precache_sound2("mymonster/missile.wav"); // ... }