Warning: file_put_contents(/ff_1edb98f45e1d2ab456afbf9a5f89f94a79183347a8ec2344.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
setSoundEffect - OFPEC Scripting Command Reference | OFPEC The Editing Center

trigger or waypoint setSoundEffect [sound, voice, soundEnv, soundDet]

Operand types

trigger or waypoint: Object or Array
[sound, voice, soundEnv, soundDet]: Array

Type of returned value

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.

Used In

ArmA

Example

trigger setSoundEffect ["Alarm", "", "", ""]

Advertisement