say3D

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in ARMA 2  version 1.00Arguments of this scripting command don't have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
ARMA 2
Version:
1.00

Description

Description:
Unit or object will say given sound in 3D Space. This allows broadcasting of positional music or sound from a source, without having to script a fade sound or music command. Compare this with say2D which will always play a sound at the location of the player after he has been in the vicinity of a broadcasting sound. Sound is defined in CfgSound of the Description.ext.

Syntax

Syntax:
unit say3D sound
Parameters:
unit: Object -
sound: String - classname. Defined in Description.ext
Return Value:
Nothing

Alternative Syntax

Syntax:
[unit, target] say3D sound
Parameters:
unit: Object -
target: Object
sound: String - classname. Defined in Description.ext
Return Value:
Nothing

Examples

Example 1:
helicopter1 say3D "Fortunateson"

Additional Information

Multiplayer:
-
See also:
say, say2D, playSound, createSoundSource

Notes

Notes


Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Posted on 7 March 2013
Rocket
The only difference with this command and say is during cutscenes (when some camera effect is active). In cutscenes, say3D is 3D, say is not.

Bottom Section