武装突袭 Wiki
Advertisement


  

点击图片可看到更多讯息

开始使用于

游戏:
Virtual Battlespace 1
版本:
2.12.14

描述

描述:
Disable parts of the AI behaviour to get a better control over the actions of a unit. Disabled can be following sections:
  • "ANIM" - prevents a unit from changing back to the default animation.
  • "AUTOTARGET" - prevent the unit from assigning a target independently and watching unknown objects.
  • "MOVE" - disable the AI's movement.
  • "MOVEFORWARD" - prevents a unit from moving off a position but allows it to react to enemy etc.
  • "TARGET" - stop the unit to watch the assigned target.
This command's effects can be undone by enableAI (VBS1).

基本句法

句法:
unit disableAI section
参数:
unit: Object
section: String
返回值:
Nothing

范例

范例1:
soldier1 disableAI "MOVEFORWARD"

额外资讯

多人游戏:
-
也可以看看:
enableAI (VBS1)

注意事项

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

Notes

Posted on August 17, 2006 - 08:56
Str
Notes from OFP command description: The "TARGET" section of the AI is likely different than what you would think. Normally, when an AI group is standing still and sees an enemy, the group will break formation and start moving towards the enemy. If you disable the "TARGET" AI, then the AI units will stay where they are at. Even if you disable the "MOVE" AI, the units will still move out to attack the enemy, unless you disable the "TARGET" AI. Disabling both these AI sections is useful when placing units in defensive positions. This way, you can have them stay behind their cover, and not run out into the open. This command has also a bug: after mission save or load the effect will be no longer active and you must set it again. It's also good way to detect number of saves and loads (loads can be recognized using time command).

Bottom Section

Advertisement