Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
PlaySound
Syntax
C++
int PlaySound(IFunctionHandler * pH);
Parameters 
Description 
SoundId 
Sound Id previously loaded with Sound.LoadSound function. 
Return 
Return not a nil value if sound started to play successfully. nil if sound failed to play.
 

Syntax: Entity.PlaySound( Handle SoundId ) 

Start playing the specified sound and attach it to the entity. Sound will move and rotate with the entity.

Copyright (c) 2012. All rights reserved.