enableAI: Difference between revisions
Jump to navigation
Jump to search
(add. classification) |
m (Text replacement - "v1\.95\.[0-9]{6}" to "v1.96") |
||
(44 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| | | arma1 | ||
|1.00 | |1.00 | ||
| | |arg= local | ||
|eff= global | |||
| | |gr1= Object Manipulation | ||
| | |gr2= Unit Control | ||
| | | Enables parts of the AI behavior that was disabled by [[disableAI]]. | ||
<br><br> | |||
{{Feature | important |When player switches and leaves behind AI unit, you need to enable "TeamSwitch" AI on it <tt>_unit [[enableAI]] "TeamSwitch"</tt> so that the unit continues with [[waypoints]] }} | |||
{{Feature|arma3 | Since Arma 3 v1.96 it is possible to return the state of the given AI flag via [[checkAIFeature]] or set it using alias command [[enableAIFeature]]}} | |||
| [[ | | unit '''enableAI''' skilltype | ||
|p1= unit: [[Object]] | |||
|p2= skilltype: [[String]] - See [[disableAI]] for possible values. | |||
| [[Nothing]] | |||
|x1= < | |x1= <code>_soldierOne [[enableAI]] "Move";</code> | ||
|seealso= [[disableAI]], [[checkAIFeature]], [[enableAIFeature]], [[vehicleMoveInfo]] | |||
}} | }} | ||
{{GameCategory|ofpe|Scripting Commands}} | |||
{{GameCategory|arma1|Scripting Commands}} | |||
{{GameCategory|arma2|Scripting Commands}} | |||
{{GameCategory|arma3|Scripting Commands}} | |||
{{GameCategory|tkoh|Scripting Commands}} | |||
Revision as of 10:22, 3 April 2021
Description
- Description:
- Description needed
- Groups:
- Object ManipulationUnit Control
Syntax
- Syntax:
- Syntax needed
- Parameters:
- unit: Object
- skilltype: String - See disableAI for possible values.
- Return Value:
- Return value needed
Examples
- Example 1:
_soldierOne enableAI "Move";
Additional Information
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