Fandom

武装突袭 Wiki

Say

简体 | 繁體

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

点击图片可看到更多讯息

开始使用于

游戏:
Operation Flashpoint: Resistance
版本:
1.75

描述

描述:
Unit will say given sound.

When the Unit is a Person, it will also perform corresponding lipsync effect provided an appropriate .lip file has been created for this sound.

A unit that has been killed or does not exist will not say anything.

Compare this with playSound which will always play a sound at the location of the player.

If the camera is not within given range, title is not shown and the sound will not be heard.

Sound is defined in CfgSound of the Description.ext.



NOTE: say will mimic either say2D or say3D depending on whether it is there executed in a cut scene or in a game scene.

基本句法

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

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

替代句法

句法:
from say [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] say 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] say [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:
(units player select 1) say ["whisper1",5];

范例2:
Arma 3:player say "scuba_breath";

额外资讯

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

say3Dsay2DplaySoundcreateSoundSource

注意事项

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

Notes

Posted on 7 March 2013
Rocket
Say will occur in 3D when the player is active, during cutscenes it will not. Use say3D for cutscenes.

Bottom Section

更多维基

随机维基