sound_get_preload(ind)

From ENIGMA

Jump to: navigation, search

Description

Gets whether or not the given sound is set to be preloaded.

Parameters

Parameter Data Type Description
ind integer index of the sound resource

Return Values

boolean: Returns whether or not the sound is preloaded.

Example Call

// demonstrates checking if a sound is preloaded
if (sound_get_preload(snd_shoot)) {
  // sound is preloaded
} else {
  // sound is not preloaded
}
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox