点击图片可看到更多讯息
开始使用于
- 游戏:
- 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
注意事项
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.