enableAI: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (changed global to local variable to make clear the variable)
mNo edit summary
Line 15: Line 15:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Object#Unit|Unit]] '''enableAI''' "section" |= Syntax
| unit '''enableAI''' section |= Syntax


|p1= [[Object#Unit|Unit]]  |= Parameter 1
|p1= unit: [[Object]]  |= Parameter 1


|p2= section [[String]] |= Parameter 2
|p2= section: [[String]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 20:22, 22 January 2009

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

Description

Description:
Enables parts of the AI behaviour. Section is one of:
  • "TARGET" - enables watching assigned targets
  • "AUTOTARGET" - enables independed target assigning and watching of unknown targets
  • "MOVE" - enables movement.
  • "ANIM" - enables animation.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
_soldierOne enableAI "Move"

Additional Information

See also:
disableAI

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

Bottom Section