setSoundEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fixed version)
m (Fixed parameters)
Line 14: Line 14:
|p1= trigger or waypoint: [[Object]] |= Parameter 1
|p1= trigger or waypoint: [[Object]] |= Parameter 1


|p2= [sound, voice, soundEnv, soundDet]: [[Array]] |= Parameter 2
|p2= sound: [[String]]|= Parameter 2


|p3= voice: [[String]] |= Parameter 3
|p4= soundEnv: [[String]] |= Parameter 4
|p5= soundDet: [[String]] |= Parameter 5
| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 17:50, 14 September 2006

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

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: String
voice: String
soundEnv: String
soundDet: String
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

Notes

Bottom Section