playSound: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (moved notes) |
||
Line 27: | Line 27: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
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. | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands|PLAYSOUND]] | [[Category:Scripting Commands|PLAYSOUND]] | ||
[[Category:Scripting Commands OFP 1.96|PLAYSOUND]] | [[Category:Scripting Commands OFP 1.96|PLAYSOUND]] | ||
[[Category:Scripting Commands OFP 1.46|PLAYSOUND]] | [[Category:Scripting Commands OFP 1.46|PLAYSOUND]] | ||
[[Category:Scripting Commands ArmA|PLAYSOUND]] | [[Category:Scripting Commands ArmA|PLAYSOUND]] |
Revision as of 17:17, 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
-
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.