215 |
215 |
216 -- 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 |
216 -- 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 |
217 for i = 0,(zCount-1) do |
217 for i = 0,(zCount-1) do |
218 if CurrentHedgehog ~= nil then |
218 if CurrentHedgehog ~= nil then |
219 if cOwnerClan[i] == GetHogClan(CurrentHedgehog) then |
219 if cOwnerClan[i] == GetHogClan(CurrentHedgehog) then |
220 g = AddVisualGear(vCircX[i], vCircY[i]-100, vgtHealthTag, 100, False) |
220 local g = AddVisualGear(vCircX[i], vCircY[i]-100, vgtHealthTag, 100, false) |
221 if g ~= 0 then |
221 SetVisualGearValues(g, vCircX[i], vCircY[i]-100, 0, 0, 0, 0, 0, teamScore[cOwnerClan[i]], 1500, GetClanColor(cOwnerClan[i])) |
222 SetVisualGearValues(g, vCircX[i], vCircY[i]-100, 0, 0, 0, 0, 0, teamScore[cOwnerClan[i]], 1500, GetClanColor(cOwnerClan[i])) |
|
223 end |
|
224 end |
222 end |
225 end |
223 end |
226 end |
224 end |
227 |
225 |
228 -- Update team labels |
226 -- Update team labels |