playSound: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Play sound defined in [[description.ext]]. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''playSound''' name |= Syntax | ||
|p1= name: [[String]] |= Parameter 1 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>playSound "soundname"</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
Old Notes (temporary): | |||
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. | |||
[[Category:Scripting Commands|PLAYSOUND]] | |||
[[Category:Scripting Commands OFP 1.96|PLAYSOUND]] | |||
[[Category:Scripting Commands OFP 1.46|PLAYSOUND]] | |||
[[Category:Scripting Commands ArmA|PLAYSOUND]] | |||
For dialogue involving living units it is better to use |
Revision as of 01:00, 2 August 2006
Description
- Description:
- Play sound defined in description.ext.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
playSound "soundname"
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
Bottom Section
Old Notes (temporary):
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.