setSoundEffect (VBS1)

From Bohemia Interactive Community
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. Use the Talk page or the Forums for discussions.

Notes

Bottom Section