enableAI
From Bohemia Interactive Community
Click on the images for descriptions
Introduced in
- Game:
- Armed Assault
- Version:
- 1.00
Description
- Description:
- Enables parts of the AI behavior that was disabled by disableAI.
Syntax
- Syntax:
- unit enableAI skilltype
- Parameters:
- unit: Object
- skilltype: String - See disableAI or disableAI_(VBS2) for possible values.
- Return Value:
- Nothing
Examples
- Example 1:
_soldierOne enableAI "Move"
Additional Information
- Multiplayer:
- -
- See also:
- disableAI, disableAI_(VBS2)
Notes
Notes
Notes
- Posted on Mar 19, 2010 - 14:39
- TijmenJoppe
-
Multiplayer Use for VBS2:
The disableAI and enableAI commands need to be executed on the server or client where target unit is local. In other words: executing the command in a script on the server on a unit that is remote to that server (and local to one of the network clients) will have no effect.