Fandom

武装突袭 Wiki

Say3D

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 分享

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

  Arguments 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

点击图片可看到更多讯息

开始使用于

游戏:
Arma 2
版本:
1.00

描述

描述:
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.

基本句法

句法:
from say3D sound
参数:
from: Object - origin of the sound

sound: String - classname of the sound to be played. Defined in CfgSounds including Description.ext
返回值:
Nothing

替代句法

句法:
from say3D [sound, maxTitlesDistance, speed]
参数:
from: Object - origin of the sound

[sound, maxTitlesDistance, speed]: Array

sound: String - classname of the sound to be played. Defined in CfgSounds including Description.ext

maxTitlesDistance: Number - max distance at which the sound can be heard. Default: 100 m.

speed (Optional): Number - pitch of the sound. Default: 1.
返回值:
Nothing

替代句法2

句法:
[from, to] say3D sound
参数:
[from, to]: Array

from: Object - origin of the sound

to: Object - target

sound: String - classname of the sound to be played. Defined in CfgSounds including Description.ext
返回值:
Nothing

替代句法3

句法:
[from, to] say3D [sound, maxTitlesDistance, speed]
参数:
[from, to]: Array

from: Object - origin of the sound

to: Object - target

[sound, maxTitlesDistance, speed]: Array

sound: String - classname of the sound to be played. Defined in CfgSounds including Description.ext

maxTitlesDistance: Number - max distance at which the sound can be heard. Default: 100 m.

speed (Optional): Number - pitch of the sound. Default: 1.
返回值:
Nothing

范例

范例1:
helicopter1 say3D "Fortunateson"

额外资讯

多人游戏:
-
也可以看看:

saysay2DplaySoundcreateSoundSource

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

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

Posted on July 19, 2015 - 21:26 (UTC)
Benargee
In Arma 2 1.63, the object this command is assigned to must be alive for the sound to broadcast. If the object is killed while the sound is still playing, the sound will stop immediately.
Here is a link to the forum to get around this issue: [2]
I have not tested this in Arma 3 yet.

更多维基

随机维基