AI Hero Support script for units?
Posted: Sat Mar 20, 2010 2:58 am
As the title indicates, i'm wondering how i would go about setting up a few of my units so that they operate like the AIherosupport script by Archer01. I want to have only one unit of commander cody on the map, but if i do this, the ai won't use him. If i create two slots for him, there might be two commander cody's running around, which wouldn't be good. I want to make it so that one ai will always use him, but if the player selects him in the unit screen, the ai player is killed and the player takes his place. i'm pretty sure this would be possible seeing as Archer did it, but i'm just wondering if you guys could help me with it, and if it would be too hard for an inexperienced scripter like myself...