N2o)
Retired.
- Reaction score
- 51
Hi i am making a hero map. It isn't an aos because the hero's work together vs computer creeps. Player 1 has a top down view to advise them. Now my map will be really boring and easy in my opinion if i cannot incorporate an aggro system.
My idea would be using an integar for each player and it increases every time the player's hero casts a spell/attacks an enemy. Enemies will only attack the others if they get attacked e.g.
Warriors aggro = 200 not attacking creep x
Mages aggro = 50 attacking creep x
Rogues aggro = 30 attacking creep x
creep x attack Mage.
One problem with this is that priests wouldn't die if they just healed. There aggro might go up but if they don't cast a spell on an enemy or attack them. then their aggro won't be recognised. Maybe this can be fixed.
Has anybody got any other better ways to create an aggro system. Because i want the most effective way and the most memory-less consuming way to create one. Anybody who puts forward a worthy code will get +rep. If i use anybodies code i will give them alot of credit in my map.
My idea would be using an integar for each player and it increases every time the player's hero casts a spell/attacks an enemy. Enemies will only attack the others if they get attacked e.g.
Warriors aggro = 200 not attacking creep x
Mages aggro = 50 attacking creep x
Rogues aggro = 30 attacking creep x
creep x attack Mage.
One problem with this is that priests wouldn't die if they just healed. There aggro might go up but if they don't cast a spell on an enemy or attack them. then their aggro won't be recognised. Maybe this can be fixed.
Has anybody got any other better ways to create an aggro system. Because i want the most effective way and the most memory-less consuming way to create one. Anybody who puts forward a worthy code will get +rep. If i use anybodies code i will give them alot of credit in my map.