198 -- i want to show all the tags at once as having the SAME score not 1,2,3,4 so alas, repeating the loop seems needed |
198 -- i want to show all the tags at once as having the SAME score not 1,2,3,4 so alas, repeating the loop seems needed |
199 for i = 0,(zCount-1) do |
199 for i = 0,(zCount-1) do |
200 if CurrentHedgehog ~= nil then |
200 if CurrentHedgehog ~= nil then |
201 if cOwnerClan[i] == GetHogClan(CurrentHedgehog) then |
201 if cOwnerClan[i] == GetHogClan(CurrentHedgehog) then |
202 g = AddVisualGear(vCircX[i], vCircY[i], vgtHealthTag, 100, False) |
202 g = AddVisualGear(vCircX[i], vCircY[i], vgtHealthTag, 100, False) |
203 SetVisualGearValues(g, vCircX[i], vCircY[i], 0, 0, 0, 0, 0, teamScore[cOwnerClan[i]], 1500, GetClanColor(cOwnerClan[i])) |
203 if g ~= 0 then |
|
204 SetVisualGearValues(g, vCircX[i], vCircY[i], 0, 0, 0, 0, 0, teamScore[cOwnerClan[i]], 1500, GetClanColor(cOwnerClan[i])) |
|
205 end |
204 end |
206 end |
205 end |
207 end |
206 end |
208 end |
207 |
209 |
208 end |
210 end |