Like this? I know it's a mix of jass and GUI, I just need to know if the general idea works and it's easy + efficient.
Jass:
Set i = 0
Set MaxDamage = 0.00
Unit - Pick Every Unit in TowerGroup and do:
Set i = i +1
Set Tower[i] = (Picked Unit)
For each Integer A from 1 to (Number of Units in TowersGroup) do (Actions)
Custom Script: Set int = GetHandleId(Towers[GetForLoopIndexA()])
Set r = Load 1 of int in Hash
If r > MaxDamage then
Set MaxDamage = r
Set MaxTower = Towers[Integer A]
Set Owner = Player number of (Owner of MaxTower)
endif