How to "onlyAutoCast"

i want it to only autocast on capital ships. but i still want the ability to manually be able to do it on frigates, but is there a "onlyAutoCastOnCapitalShips" line of code?

 

basically, what do i have to write for it to only autocast on capital ships? thanks.

992 views 1 replies
Reply #1 Top

There is a way to target only capital ships and starbases for the AI but still allow frigates to be manually targetted.

The proper value is IsCapitalShipOrStarbase for the keyword aiUseTargetCondition.

For a list of all the enumeration values supported check out my wiki page.

http://code.google.com/p/soaseplugin/wiki/aiUseTargetCondition