Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
PlayEx
Syntax
C++
int PlayEx(IFunctionHandler * pH, const char * sSoundOrEventName, Vec3 vPos, uint32 nSoundFlags, uint32 nSoundFlagsExtended, float fVolume, float minRadius, float maxRadius, uint32 nSemantic);
Parameters 
Description 
Vec3 vPos 
Position where to play sound. 
uint32 nSoundFlags 
Sound flags, specify how to play sound. 
uint32 nSoundFlagsExtended 
Extended sound flags, specify how to play sound. 
float fVolume 
The sound's volume between 0-1 
float minRadius 
min radius 
float maxRadius 
max radius 
uint32 nSemantic 
Semantical information what this sound is. 
sGroupAndSoundName 
SoundGroup name of the sound definition or direct filename of a sound 

SoundID. 

for the new group sound param settings

Syntax: Sound.PlayEx( const char *sGroupAndSoundName,int nSoundFlags, float fVolume, Vec3 pos,float minRadius,float maxRadius ) 

Play sound file.

Copyright (c) 2012. All rights reserved.