|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
local MAX_ESCORTS_SHOWN = 6local MIN_MET_TEXTURE = "EsoUI/Art/AvA/AvA_ram_slot_green.dds"local MIN_NOT_MET_TEXTURE = "EsoUI/Art/AvA/AvA_ram_slot_red.dds"local SPOT_NOT_FILLED_TEXTURE = "EsoUI/Art/AvA/AvA_ram_slot_empty.dds" return objectend local prevControl for i = 1, MAX_ESCORTS_SHOWN do local currentControl = CreateControlFromVirtual("ZO_RamIndicators", self.indicatorsControl, "ZO_RamIndicator", i) if(prevControl) then else end prevControl = currentControl end ZO_StatusBar_SetGradientColor(ZO_RamHealth, ZO_POWER_BAR_GRADIENT_COLORS[COMBAT_MECHANIC_FLAGS_HEALTH]) end endend endend local spotFilledTexture = (numEscorts >= minRequiredEscorts) and MIN_MET_TEXTURE or MIN_NOT_MET_TEXTURE for i = 1, MAX_ESCORTS_SHOWN do if(i <= maxPossibleEscorts) then if(i <= numEscorts) then else end else end endendendend |