enableAI: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replace - "</dt>" to "")
m (Text replace - "</dd>" to "")
Line 30: Line 30:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on Mar 19, 2010 - 14:39</dd>
<dd class="notedate">Posted on Mar 19, 2010 - 14:39
<dt class="note">'''[[User:TijmenJoppe|TijmenJoppe]]'''
<dt class="note">'''[[User:TijmenJoppe|TijmenJoppe]]'''
<dd class="note">
<dd class="note">
Line 36: Line 36:


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.
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.
</dd>
 


<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 13:33, 21 October 2011

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Enables parts of the AI behavior that was disabled by disableAI.
Groups:
Uncategorised

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

See also:
disableAIdisableAI_(VBS2)

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

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.

Bottom Section