Something
public text v1 · immutablevariable int NumAggros
method AggroIndexer()
{
variable int Index = 1
NumAggros:Set[0]
do
{
if ${Unit[${Targeting.TargetCollection.Get[${Index}]}].Target.Equal[${Me}]}
{
NumAggros:Inc
}
}
while ${Unit[${Targeting.TargetCollection.Get[${Index}]}](exists)}
}