Page MenuHomeFeedback Tracker

Add scripting command to check if unit has AI enabled
New, WishlistPublic

Description

'get' for 'set'...

<unit> enabledAI <skill>

  • for checking if given unit has given AI skill enabled or not
  • example: if (loon1 enabledAI "SUPPRESSION") then {hint "loon1 can be suppressed"}

And/or
disabledAI <unit>

  • Would return a list of all disabled AI skills for the given unit
  • example: if ("SUPPRESSION" in (disabledAI loon1)) then {hint "loon1 can not be suppressed"};

Details

Legacy ID
3380987341
Severity
None
Resolution
Open
Reproducibility
N/A
Category
Feature Request

Event Timeline

h- set Category to Feature Request.Sep 9 2015, 6:15 PM
h- set Reproducibility to N/A.
h- set Severity to None.
h- set Resolution to Open.
h- set Legacy ID to 3380987341.May 8 2016, 12:41 PM