Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CacheAudioFile
Syntax
C++
int CacheAudioFile(IFunctionHandler * pH, char const* const sName, uint32 audioFileCacheType);
Parameters 
Description 
char const* const sName 
Name of the hint or *.fsb file path. 
nFileCacheType 
file cache type: AFCT_GLOBAL AFCT_LEVEL_SPECIFIC AFCT_GAME_HINT AFCT_GAME_HINT_NO_SERIALIZE AFCT_MUSIC 

Syntax: Sound.CacheAudioFile(sName, audioFileCacheType) 

Caches a single *.fsb file or *.fsb files of a game hint.

Copyright (c) 2012. All rights reserved.