setSoundEffect (VBS1)

From Bohemia Interactive Community
Revision as of 21:16, 1 September 2019 by Lou Montana (talk | contribs) (Text replacement - "|= Game name" to "|Game name=")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Introduced with Virtual Battlespace 1 version 2.12.142.12
Hover & click on the images for descriptions

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.

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

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section