setSoundEffect: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofpr |= Game name | |||
|1.86|= Game version | |||
____________________________________________________________________________________________ | |||
| Defines the different sound effects. Sound / voice plays a 2D / 3D sound from CfgSounds. SoundEnv plays an enviromental sound from CfgEnvSounds. SoundDet (only for triggers) creates a dynamic sound object attached to a trigger defined in CfgSFX. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | trigger or waypoint '''setSoundEffect''' [sound, voice, soundEnv, soundDet] |= Syntax | ||
|p1= trigger or waypoint: [[Object]] |= Parameter 1 | |||
|p2= [sound, voice, soundEnv, soundDet]: [[Array]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>trigger setSoundEffect ["Alarm", "", "", ""]</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> | |||
[[Category:Scripting Commands|SETSOUNDEFFECT]] | |||
[[Category:Scripting Commands OFP Elite |SETSOUNDEFFECT]] | |||
[[Category:Scripting Commands ArmA|SETSOUNDEFFECT]] | |||
Revision as of 23:29, 1 August 2006
Description
- Description:
- Defines the different sound effects. Sound / voice plays a 2D / 3D sound from CfgSounds. SoundEnv plays an enviromental sound from CfgEnvSounds. SoundDet (only for triggers) creates a dynamic sound object attached to a trigger defined in CfgSFX.
- Groups:
- Uncategorised
Syntax
- Syntax:
- trigger or waypoint setSoundEffect [sound, voice, soundEnv, soundDet]
- Parameters:
- trigger or waypoint: Object
- [sound, voice, soundEnv, soundDet]: Array
- Return Value:
- Nothing
Examples
- Example 1:
trigger setSoundEffect ["Alarm", "", "", ""]
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