- Joined
- Jan 6, 2010
- Messages
- 116
I didn't find much on this from searching the forums, and I find this to be surprisingly complicated;
I have a bunch of different AI heroes running around on the map, some of the same type, and they need to learn their skills (use their skill points).
Preferably, the function should feature a randomized skill-build and be non-leaking. And above all, as simple as possible. But I'm not sure what the best approach is..
Should I have periodic event or try to trigger it on level-up? The complication with the latter is that the heroes level several times at once on creation.
This trigger is probably something that is done a lot of times previously, so perhaps there's a well-established method out there? Grateful for all help
I have a bunch of different AI heroes running around on the map, some of the same type, and they need to learn their skills (use their skill points).
Preferably, the function should feature a randomized skill-build and be non-leaking. And above all, as simple as possible. But I'm not sure what the best approach is..
Should I have periodic event or try to trigger it on level-up? The complication with the latter is that the heroes level several times at once on creation.
This trigger is probably something that is done a lot of times previously, so perhaps there's a well-established method out there? Grateful for all help