Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
Play
Syntax
C++
int Play(IFunctionHandler * pH, const char * sSoundOrEventName, Vec3 vPos, uint32 nSoundFlags, uint32 nSoundFlagsExtended, 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. 
uint32 nSemantic 
Semantical information what this sound is. 
sGroupAndSoundName 
SoundGroup name of the sound definition or direct filename of a sound 

SoundID. 

Uses the sound definition of the Handle to play a sound at the position vPos . It returns a unique SoundID that is valid as long as the sound is played.

Syntax: Sound.Play( sGroupAndSoundName, vPos, nSoundFlags ) 

Uses the sound definition of the Handle to play a sound at the position vPos . It returns a unique SoundID that is valid as long as the sound is played.

Copyright (c) 2012. All rights reserved.