Parameters |
Description |
uint32 nSoundFlags |
Sound flags, specify how to play sound. |
uint32 nSoundFlagsExtended |
Extended sound flags. |
float fVolume |
The sound's volume between 0-1 |
Vec3 vOffset |
Position offset in regards to the entity. |
float minRadius |
min radius |
float maxRadius |
max radius |
uint32 nSemantic |
Semantical information what this sound is. |
sSoundFilename |
Name of the sound file to play. |
Return |
Sound ID, or nil if failed to play sound. |
Syntax: Entity.PlaySoundEventEx( sSoundFilename, nSoundFlags, nSoundFlagsExtended, fVolume, vOffset, minRadius, maxRadius, nSemantic )
Play sound file attached to the entity.
Copyright (c) 2012. All rights reserved.
|