- Joined
- Jan 25, 2011
- Messages
- 2,294
I this map of mine hero units are randomly spawned based on a hero array variable.
Their levels are set accordingly to some parameters in game.
The AI controlled heroes will not use their skill points per default so is there a way to either, force the AI to use skill points, or get what abilities the spawned hero has and set them manually?
There is the "Set Level Of Ability For Unit" but that requires that I know exactly what unit type it is.
Since I have like 30 hero types that will be an enourmous if/else check trigger I have to write, not to mention that I need a way to store ALL abilities (that would be 90 abilities in total).
Their levels are set accordingly to some parameters in game.
The AI controlled heroes will not use their skill points per default so is there a way to either, force the AI to use skill points, or get what abilities the spawned hero has and set them manually?
There is the "Set Level Of Ability For Unit" but that requires that I know exactly what unit type it is.
Since I have like 30 hero types that will be an enourmous if/else check trigger I have to write, not to mention that I need a way to store ALL abilities (that would be 90 abilities in total).