Fandom

武装突袭 Wiki

Reveal

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

Introduced with Operation Flashpoint version 1.00
  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
版本:
1.00

描述

描述:
Reveals a target to a group. If toWhom is a unit, unit's group is considered. If toWhom is a vehicle, vehicle commander's group is considered.



The knowledge value will be set to the highest level any unit of the revealing side has about the revealed target. If the revealing side has no knowledge about the revealed target, the value will be set to 1.



Since ARMA 2 OA 1.60 the alternative syntax is available. Values greater than or equal 1.5 reveal the side of the target, too.



The knowledge level can only be increased, not decreased by this command.



In MP targetKnowledge and knowsAbout infos get updated only on the PC where command was executed.

基本句法

句法:
toWhom reveal target
参数:
toWhom: Object or Group which receives revealing information

target: Object which is revealed
返回值:
Nothing

替代句法

句法:
toWhom reveal [target, accuracy]
参数:
toWhom: Object or Group which receives revealing information

target: Object which is revealed

accuracy: Number - knowledge value, clamped to 0...4 range
返回值:
Nothing

范例

范例1:
_soldierOne reveal _soldierTwo; //soldierOne received information about soldierTwo

范例2:
player reveal cursorTarget; //player receives information about the object below its cursor

范例3:
_soldierOne reveal [_soldierTwo, 1.5];

额外资讯

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

nearTargetsknowsAbout

注意事项

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

Notes

Posted on January 15, 2007
Ceeeb
In OFP v1.96, When a target is revealed to a unit, it's knowsAbout rating is set to 1, unless it was already more than 1 in which case reveal does nothing. See knowsAbout for more details about knowsAbout ratings and limitations.

Posted on January 24, 2008
Doolittle
Use reveal to allow client to see a created vehicle faster - the associated menu interaction will become available therefore, like the player has option to get in sooner.

_tank = "M1A1" createVehicle (position player);
player reveal _tank;
//get in user actions become available instantly

Posted on January 15, 2012
kju
The same idea from Doolittle's note applies to beaming of units. If you setPos an unit or a player, reveal (all) nearby objects and vehicles to make the interaction possible a lot quicker.

Posted on January 15, 2012
kju
Revealing a targetUnit will also add it to nearTargets database of the given sourceUnit. The quality/detail level of the info depends on the knowsAbout value used with reveal. More detail in the nearTargets page.

Bottom Section

Posted on October 21, 2014 - 15:37 (UTC)
Killzone Kid
Units that have been previously subjected to enableSimulation false; or enableSimulationGlobal false; may stay unrecognised for a long time even after simulation was re-enabled, returning objNull as cursorTarget. Force revealing units with reveal command usually solves the problem. For example: {player reveal _x} forEach allUnits;

更多维基

随机维基