- Joined
- Jan 23, 2008
- Messages
- 334
Well in one of my projects I have been designing a threat calculator. It desides who is the greatest threat by adding up time in battle and spell damage/healing done. This is being made in GUI.
Alright I have a couple questions but I will start off with the easiest first. If I wanted to make a trigger find the largest value of say about 8-12 values how would I do that? 2 is it possible to have a damage calculator made in GUI or is it only possible in JASS? 3 right now the person with the highest threat would probably run around agroing creeps that are not in combat (This would only happen if the hero was attacking things to put itself in combat). I want it so that the creep knows if it; itself is in combat. If I wanted to do such a thing would each creep need its own varible? And would future creeps that would spawn need there own varibles also??
Thanks in Advance
Alright I have a couple questions but I will start off with the easiest first. If I wanted to make a trigger find the largest value of say about 8-12 values how would I do that? 2 is it possible to have a damage calculator made in GUI or is it only possible in JASS? 3 right now the person with the highest threat would probably run around agroing creeps that are not in combat (This would only happen if the hero was attacking things to put itself in combat). I want it so that the creep knows if it; itself is in combat. If I wanted to do such a thing would each creep need its own varible? And would future creeps that would spawn need there own varibles also??
Thanks in Advance