Can i make an AI system? This gave me the idea
btw, i didn't check any of the triggers in this system, but make sure you make the AI configurable for both heroes and units. And if the unit can only target a certain unit type, then make sure you add booleans to configure that.
This system has to work for any unit.
The only thing the user must do is configure the unit in an initialization trigger.
Just keep that in mind.
If this system doesn't work out, can i please create an AI system?
Your system should also check if the unit is paused, locust, or anything else like that.
Items should be stored in variables that the units will buy in a certain order depending on how much money the AI player has.
Make sure your system also supports certain events in-game like when the player's gold drops to a certain amount. For example, in DotA AI, the system detects that if the unit has under 135 gold, he will be issued to move to the destination, else if he has over 135 gold, he will be issued to buy a scroll and teleport to that destination. (I'm just giving an example; i don't know if it does that
)
Also, you have to store the prices of items in variables.
Judging by the 45 Kb size of this system, i'm guessing it doesn't contain most of the features i mentioned above.
Please update it.
For now, i'll rate it at 2/5.
EDIT:
A few more suggestions: You have to assign priorities for each hero ability (ex: hostile (blizzard), passive (true-shot aura), hostile-passive (immolation), ulti-passive (Reincarnation), ulti-hostile (Finger of Death), auto-hostile (frost arrows), auto-supporting (heal)....)
If the hero encounters an enemy unit, he would usually decide depending on mana-cost, cooldown, and enemy hero HP, what ability to use.
If a hero has 4 abilities, 1 being hostile and 1 ulti-hostile and the rest passive, if the enemy unit has less than 20% HP, the AI hero wouldn't waste his ulti unless his hostile ability is on cooldown.
You must consider every single possiblity. Systems are supposed to work for MOST maps.
EDIT2:
ONE MORE THING:
Aren't YOU the guy who said: "Help me fix my spells guys cz i can't make them GUI"
XD XD XD XD