武装突袭 Wiki
Advertisement
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 on

点击图片可看到更多讯息

开始使用于

游戏:
Operation Flashpoint
版本:
1.00

描述

描述:
Returns the combat mode of the given unit. See setCombatMode for more information about combat modes.

基本句法

句法:
String = combatMode grp
参数:
grp: Object or Group
返回值:
String - One of "BLUE", "GREEN", "WHITE", "YELLOW" and "RED" or "ERROR"

范例

范例1:
if ((combatMode _grp1) == "BLUE") then {_grp1 setCombatMode "GREEN"};

额外资讯

多人游戏:
-
也可以看看:
combat mode descriptionAI Combat ModessetCombatModebehavioursetBehaviourskillsetSkill arrayCfgAISkill

注意事项

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

Notes

Posted on August 3, 2006 - 14:25
hardrock
Notes from before the conversion: Use setCombatMode to set the combat mode. The definitions of the colours are given under that command.
Ceeeb
In OFP v1.96, combatMode return value does not change when unit's combat mode is set with radio commands, ie troops under the player's command.

Bottom Section

Advertisement