Is is possible to use Loop Integer with Custom UI Text
-
SetStats
-

Events
-


Time - Elapsed game time is 5.00 seconds
-
-

Conditions
-

Actions
-


For each (Integer A) from 1 to 7, do (Actions)
-



Loop - Actions
-




-------- Health --------
-




Set VariableSet UICurrentHP[(Integer A)] = (Integer((Life of SetHeroGS[(Integer A)])))
-




Set VariableSet UIMaxHP[(Integer A)] = (Integer((Max life of SetHeroGS[(Integer A)])))
-




Set VariableSet CustomString = (|cffff0000 + ((String(UICurrentHP[(Integer A)])) + (|r/|cffff0000 + ((String(UIMaxHP[(Integer A)])) + |r))))
-




Custom script: call BlzFrameSetText(PlayerHPC[(Integer A)], udg_CustomString)
-




-------- Mana --------
-




Set VariableSet UICurrentMana[(Integer A)] = (Integer((Mana of SetHeroGS[(Integer A)])))
-




Set VariableSet UIMaxMana[(Integer A)] = (Integer((Max mana of SetHeroGS[(Integer A)])))
-




Set VariableSet CustomString = (|cff0000ff + ((String((Mana of SetHeroGS[(Integer A)]))) + (|r/|cff0000ff + ((String((Max mana of SetHeroGS[(Integer A)]))) + |r))))
-




Custom script: call BlzFrameSetText(PlayerMPC[(Integer A)], udg_CustomString)
-
-
-
-
