preloadSound

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Armed Assault version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Makes sure that a sound can start playing without any delay once it is needed. Command works in Arma 3, but might not be implemented in earlier Arma installments.

Syntax

Syntax:
preloadSound soundName
Parameters:
soundName: String
Return Value:
Boolean

Examples

Example 1:
{ waitUntil {preloadSound _x}; } forEach getArray (missionConfigFile >> "CfgSounds" >> "sounds");

Additional Information

Multiplayer:
-
See also:
preloadTitleRsc

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section