playSound

From Bohemia Interactive Community
Revision as of 10:17, 20 May 2006 by Thobson (talk | contribs)
Jump to navigation Jump to search


playSound name


Operand types:

name: String

Type of returned value:

Nothing

Description:

Play sound defined in description.ext.


Example:

playSound "soundname"


Comments:

For dialogue involving living units it is better to use say, playSound will play a sound at the location of the player, say will play a sound at the location of the unit that is speaking, and it will only play that sound if the unit is alive.