PlaySound
Usage:
PlaySound(Actor, SoundID, Global)
Description:
The PlaySound command plays a sound effect once. If a 3D sound is specified, it will be played as though from the position of the specified actor.
The Actor parameter specifies two things - the source of a sound if a 3D sound is used, and the player or players who will hear the sound. The SoundID parameter is the ID number of the sound effect to use. This can be found in the Media tab of the main editor. The Global parameter should be 0 to play the sound only to the specified actor, or 1 to play the sound to all actors in the same zone as the specified actor.
Example:
Function Main()
PlaySound(Actor(), 11, 1)
Return()
End Function
Comments (0)
You don't have permission to comment on this page.