enableAI (VBS1)

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in Virtual Battlespace 1 version 2.12.14

Introduced in

Game:
Virtual Battlespace 1
Version:
2.12.14

Description

Description:
Enables parts of the AI behaviour. Section is one of:
  • "ANIM" - allows a unit to changing back to the default animation.
  • "AUTOTARGET" - enables independed target assigning and watching of unknown targets.
  • "MOVE" - enables movement.
  • "MOVEFORWARD" - enables moving off a position.
  • "TARGET" - enables watching assigned targets.

Syntax

Syntax:
unit enableAI section
Parameters:
unit Object
section String
Return Value:
Nothing

Examples

Example 1:
soldierOne enableAI "MOVEFORWARD"

Additional Information

Multiplayer:
-
See also:
disableAI (VBS1)

Notes

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section