it would just be doing it all in triggers as i think you allrady know.
when any unit deals damage " add damage to threat". each time that trigger runs get it to run a threat checker to see who has the highest thread and order target to attack target with highest threat.
The only limitation is the limit of the array for your table of aggro.
For example, if you need an aggro table for 50 mobs in the same time, the aggro table saving aggro values for 10 units, you will need 50*10. Just be carreful about the overall limit.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Any Wow players here? Is there a way to make "aggro tables" in a SC2 map?
no reason why you couldn't.
it would just be doing it all in triggers as i think you allrady know.
when any unit deals damage " add damage to threat". each time that trigger runs get it to run a threat checker to see who has the highest thread and order target to attack target with highest threat.
Wouldn't be to hard at all
@nevjmac: Go
Thanks! I'll keep that in mind!
Possible in Warcraft 3, then...
Possible also in SC2.
The only limitation is the limit of the array for your table of aggro.
For example, if you need an aggro table for 50 mobs in the same time, the aggro table saving aggro values for 10 units, you will need 50*10. Just be carreful about the overall limit.