Call of Duty Script Documentation
playsoundasmaster(<aliasname>, <notification string>, <stoppable flag>)
ModuleSound
Summary
Play the sound alias as if coming from the entity, as a master sound
Call this function on
<entity> An entity
Example
self playsoundasmaster("Dirt_skid","skidsound",true);
Minimum Number of arguments: 1
1 : <aliasname> The sound alias to play
Number of optional arguments: 2
1 : <notification string> If present, the sound will notify this string on this entity when done.
2 : <stoppable flag> If present and true, then this sound can be interrupted by another playsound command with notification string. It is a script error for a playsound that does not have this flag set to get interrupted by another playsound with notify, or for a playsound with notify that does not have this flag set to interrupt another playsound with notify.
Return to Function List