setSoundEffect (VBS1)

From Bohemia Interactive Community
Jump to navigation Jump to search


Introduced with Virtual Battlespace 1 version 2.12
  

Click on the images for descriptions

Introduced in

Game:
Virtual Battlespace 1
Version:
2.12.14

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

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section