CacheSoundShader (script event)

From modwiki

Jump to: navigation, search

Description

Ensure the specified sound shader is loaded by the system. Prevents cache hits when playing sound shaders.

Usage

In your script type...

void cacheSoundShader( string shaderName )

Parameters

  • [shaderName] - The name of the sound shader to cache.

Examples

 
sys.cacheSoundShader ("broken_plat_2_5s");

Notes

This script event does not return any values.


Personal tools
Main