enableAI: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fixed description, added see also)
mNo edit summary
Line 43: Line 43:
[[Category:Scripting Commands OFP Elite |ENABLEAI]]
[[Category:Scripting Commands OFP Elite |ENABLEAI]]
[[Category:Scripting Commands ArmA|ENABLEAI]]
[[Category:Scripting Commands ArmA|ENABLEAI]]
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]

Revision as of 05:21, 24 February 2007

-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