• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

CustomUI (Inventory Not Showing/Unitsound Not Working.

Level 7
Joined
Nov 6, 2019
Messages
186
Ok so, i started to work on making a custom UI for my map, Alot of t is Working Fine, But Inventory and Unitsound

As this isnt a new Trigger, just trying to fix my triggers, I posted on this forum.

- The Triggers -

JASS:
globals
framehandle  array CustomUIBDC
trigger  array TriggerCustomUIBDC
framehandle Inv1 = null
 framehandle BackdropInv1 = null
trigger TriggerInv1 = null
framehandle Inv2 = null
 framehandle BackdropInv2 = null
trigger TriggerInv2 = null
framehandle Inv3 = null
 framehandle BackdropInv3 = null
trigger TriggerInv3 = null
framehandle Inv4 = null
 framehandle BackdropInv4 = null
trigger TriggerInv4 = null
framehandle Inv5 = null
 framehandle BackdropInv5 = null
trigger TriggerInv5 = null
framehandle Inv6 = null
 framehandle BackdropInv6 = null
trigger TriggerInv6 = null
framehandle Skill1 = null
 framehandle BackdropSkill1 = null
trigger TriggerSkill1 = null
framehandle Skill2 = null
 framehandle BackdropSkill2 = null
trigger TriggerSkill2 = null
framehandle Skill3 = null
 framehandle BackdropSkill3 = null
trigger TriggerSkill3 = null
framehandle Skill4 = null
 framehandle BackdropSkill4 = null
trigger TriggerSkill4 = null
framehandle Skill5 = null
 framehandle BackdropSkill5 = null
trigger TriggerSkill5 = null
framehandle Skill6 = null
 framehandle BackdropSkill6 = null
trigger TriggerSkill6 = null
framehandle Skill7 = null
 framehandle BackdropSkill7 = null
trigger TriggerSkill7 = null
framehandle Skill8 = null
 framehandle BackdropSkill8 = null
trigger TriggerSkill8 = null
framehandle Skill9 = null
 framehandle BackdropSkill9 = null
trigger TriggerSkill9 = null
framehandle Skill10 = null
 framehandle BackdropSkill10 = null
trigger TriggerSkill10 = null
framehandle Skill11 = null
 framehandle BackdropSkill11 = null
trigger TriggerSkill11 = null
framehandle Skill12 = null
 framehandle BackdropSkill12 = null
trigger TriggerSkill12 = null
framehandle MapBD = null
trigger TriggerMapBD = null
framehandle  array PlayerMPC
trigger  array TriggerPlayerMPC
framehandle  array PlayerHPC
trigger  array TriggerPlayerHPC
framehandle  array TargetHPC
trigger  array TriggerTargetHPC
framehandle  array TargetMPC
trigger  array TriggerTargetMPC
framehandle  array GoldInfoC
trigger  array TriggerGoldInfoC
framehandle  array LumberInfoCopyC
trigger  array TriggerLumberInfoCopyC
framehandle  array PowerInfoC
trigger  array TriggerPowerInfoC
framehandle  array Tab1C
 framehandle  array BackdropTab1C
trigger  array TriggerTab1C
framehandle  array Tab2C
 framehandle  array BackdropTab2C
trigger  array TriggerTab2C
framehandle  array Tab3C
 framehandle  array BackdropTab3C
trigger  array TriggerTab3C
framehandle  array Tab4C
 framehandle  array BackdropTab4C
trigger  array TriggerTab4C
framehandle  array Tab5C
 framehandle  array BackdropTab5C
trigger  array TriggerTab5C
framehandle  array Tab6C
 framehandle  array BackdropTab6C
trigger  array TriggerTab6C
framehandle  array Tab7C
 framehandle  array BackdropTab7C
trigger  array TriggerTab7C
framehandle  array Tab8C
 framehandle  array BackdropTab8C
trigger  array TriggerTab8C
framehandle  array Tab9C
 framehandle  array BackdropTab9C
trigger  array TriggerTab9C
framehandle  array Tab12C
 framehandle  array BackdropTab12C
trigger  array TriggerTab12C
framehandle  array Tab10C
 framehandle  array BackdropTab10C
trigger  array TriggerTab10C
framehandle  array Tab11C
 framehandle  array BackdropTab11C
trigger  array TriggerTab11C
framehandle TheMap = null
 framehandle BackdropTheMap = null
trigger TriggerTheMap = null
framehandle  array BiologyTTC
framehandle  array TooltipBiologyTTC
trigger  array TriggerBiologyTTC
framehandle  array MechanicTTC
framehandle  array TooltipMechanicTTC
trigger  array TriggerMechanicTTC
framehandle  array PoacherTTC
framehandle  array TooltipPoacherTTC
trigger  array TriggerPoacherTTC
framehandle  array PhysicsTTC
framehandle  array TooltipPhysicsTTC
trigger  array TriggerPhysicsTTC
framehandle  array ScienceTTC
framehandle  array TooltipScienceTTC
trigger  array TriggerScienceTTC
framehandle  array AdaptiveTTC
framehandle  array TooltipAdaptiveTTC
trigger  array TriggerAdaptiveTTC
framehandle  array CameraTTC
framehandle  array TooltipCameraTTC
trigger  array TriggerCameraTTC
framehandle  array CraftTTC
framehandle  array TooltipCraftTTC
trigger  array TriggerCraftTTC
framehandle  array BaPStorageTTC
framehandle  array TooltipBaPStorageTTC
trigger  array TriggerBaPStorageTTC
framehandle  array LoyalShopTTC
framehandle  array TooltipLoyalShopTTC
trigger  array TriggerLoyalShopTTC
framehandle  array UnusedTT1C
framehandle  array TooltipUnusedTT1C
trigger  array TriggerUnusedTT1C
framehandle  array UnusedTT2C
framehandle  array TooltipUnusedTT2C
trigger  array TriggerUnusedTT2C

framehandle frameMinimap
framehandle frameMinimapBTN

endglobals
 
library CustomUI initializer init
function Inv1Func takes nothing returns nothing
call BlzFrameSetEnable(Inv1, false)
call BlzFrameSetEnable(Inv1, true)
endfunction
 
function Inv2Func takes nothing returns nothing
call BlzFrameSetEnable(Inv2, false)
call BlzFrameSetEnable(Inv2, true)
endfunction
 
function Inv3Func takes nothing returns nothing
call BlzFrameSetEnable(Inv3, false)
call BlzFrameSetEnable(Inv3, true)
endfunction
 
function Inv4Func takes nothing returns nothing
call BlzFrameSetEnable(Inv4, false)
call BlzFrameSetEnable(Inv4, true)
endfunction
 
function Inv5Func takes nothing returns nothing
call BlzFrameSetEnable(Inv5, false)
call BlzFrameSetEnable(Inv5, true)
endfunction
 
function Inv6Func takes nothing returns nothing
call BlzFrameSetEnable(Inv6, false)
call BlzFrameSetEnable(Inv6, true)
endfunction
 
function Skill1Func takes nothing returns nothing
call BlzFrameSetEnable(Skill1, false)
call BlzFrameSetEnable(Skill1, true)
endfunction
 
function Skill2Func takes nothing returns nothing
call BlzFrameSetEnable(Skill2, false)
call BlzFrameSetEnable(Skill2, true)
endfunction
 
function Skill3Func takes nothing returns nothing
call BlzFrameSetEnable(Skill3, false)
call BlzFrameSetEnable(Skill3, true)
endfunction
 
function Skill4Func takes nothing returns nothing
call BlzFrameSetEnable(Skill4, false)
call BlzFrameSetEnable(Skill4, true)
endfunction
 
function Skill5Func takes nothing returns nothing
call BlzFrameSetEnable(Skill5, false)
call BlzFrameSetEnable(Skill5, true)
endfunction
 
function Skill6Func takes nothing returns nothing
call BlzFrameSetEnable(Skill6, false)
call BlzFrameSetEnable(Skill6, true)
endfunction
 
function Skill7Func takes nothing returns nothing
call BlzFrameSetEnable(Skill7, false)
call BlzFrameSetEnable(Skill7, true)
endfunction
 
function Skill8Func takes nothing returns nothing
call BlzFrameSetEnable(Skill8, false)
call BlzFrameSetEnable(Skill8, true)
endfunction
 
function Skill9Func takes nothing returns nothing
call BlzFrameSetEnable(Skill9, false)
call BlzFrameSetEnable(Skill9, true)
endfunction
 
function Skill10Func takes nothing returns nothing
call BlzFrameSetEnable(Skill10, false)
call BlzFrameSetEnable(Skill10, true)
endfunction
 
function Skill11Func takes nothing returns nothing
call BlzFrameSetEnable(Skill11, false)
call BlzFrameSetEnable(Skill11, true)
endfunction
 
function Skill12Func takes nothing returns nothing
call BlzFrameSetEnable(Skill12, false)
call BlzFrameSetEnable(Skill12, true)
endfunction
 
function Tab1C00Func takes nothing returns nothing
call BlzFrameSetEnable(Tab1C[0], false)
call BlzFrameSetEnable(Tab1C[0], true)
set udg_TabB1 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab2C00Func takes nothing returns nothing
call BlzFrameSetEnable(Tab2C[0], false)
call BlzFrameSetEnable(Tab2C[0], true)
set udg_TabB2 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab3C00Func takes nothing returns nothing
call BlzFrameSetEnable(Tab3C[0], false)
call BlzFrameSetEnable(Tab3C[0], true)
set udg_TabB3 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab4C00Func takes nothing returns nothing
call BlzFrameSetEnable(Tab4C[0], false)
call BlzFrameSetEnable(Tab4C[0], true)
set udg_TabB4 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab5C00Func takes nothing returns nothing
call BlzFrameSetEnable(Tab5C[0], false)
call BlzFrameSetEnable(Tab5C[0], true)
set udg_TabB5 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab6C00Func takes nothing returns nothing
call BlzFrameSetEnable(Tab6C[0], false)
call BlzFrameSetEnable(Tab6C[0], true)
set udg_TabB6 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab7C00Func takes nothing returns nothing
call BlzFrameSetEnable(Tab7C[0], false)
call BlzFrameSetEnable(Tab7C[0], true)
set udg_TabB7 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab8C00Func takes nothing returns nothing
call BlzFrameSetEnable(Tab8C[0], false)
call BlzFrameSetEnable(Tab8C[0], true)
set udg_TabB8 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab9C00Func takes nothing returns nothing
call BlzFrameSetEnable(Tab9C[0], false)
call BlzFrameSetEnable(Tab9C[0], true)
set udg_TabB9 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab12C00Func takes nothing returns nothing
call BlzFrameSetEnable(Tab12C[0], false)
call BlzFrameSetEnable(Tab12C[0], true)
set udg_TabB12 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab10C00Func takes nothing returns nothing
call BlzFrameSetEnable(Tab10C[0], false)
call BlzFrameSetEnable(Tab10C[0], true)
set udg_TabB10 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab11C00Func takes nothing returns nothing
call BlzFrameSetEnable(Tab11C[0], false)
call BlzFrameSetEnable(Tab11C[0], true)
set udg_TabB11 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab1C01Func takes nothing returns nothing
call BlzFrameSetEnable(Tab1C[1], false)
call BlzFrameSetEnable(Tab1C[1], true)
set udg_TabB1 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab2C01Func takes nothing returns nothing
call BlzFrameSetEnable(Tab2C[1], false)
call BlzFrameSetEnable(Tab2C[1], true)
set udg_TabB2 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab3C01Func takes nothing returns nothing
call BlzFrameSetEnable(Tab3C[1], false)
call BlzFrameSetEnable(Tab3C[1], true)
set udg_TabB3 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab4C01Func takes nothing returns nothing
call BlzFrameSetEnable(Tab4C[1], false)
call BlzFrameSetEnable(Tab4C[1], true)
set udg_TabB4 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab5C01Func takes nothing returns nothing
call BlzFrameSetEnable(Tab5C[1], false)
call BlzFrameSetEnable(Tab5C[1], true)
set udg_TabB5 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab6C01Func takes nothing returns nothing
call BlzFrameSetEnable(Tab6C[1], false)
call BlzFrameSetEnable(Tab6C[1], true)
set udg_TabB6 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab7C01Func takes nothing returns nothing
call BlzFrameSetEnable(Tab7C[1], false)
call BlzFrameSetEnable(Tab7C[1], true)
set udg_TabB7 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab8C01Func takes nothing returns nothing
call BlzFrameSetEnable(Tab8C[1], false)
call BlzFrameSetEnable(Tab8C[1], true)
set udg_TabB8 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab9C01Func takes nothing returns nothing
call BlzFrameSetEnable(Tab9C[1], false)
call BlzFrameSetEnable(Tab9C[1], true)
set udg_TabB9 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab12C01Func takes nothing returns nothing
call BlzFrameSetEnable(Tab12C[1], false)
call BlzFrameSetEnable(Tab12C[1], true)
set udg_TabB12 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab10C01Func takes nothing returns nothing
call BlzFrameSetEnable(Tab10C[1], false)
call BlzFrameSetEnable(Tab10C[1], true)
set udg_TabB10 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab11C01Func takes nothing returns nothing
call BlzFrameSetEnable(Tab11C[1], false)
call BlzFrameSetEnable(Tab11C[1], true)
set udg_TabB11 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab1C02Func takes nothing returns nothing
call BlzFrameSetEnable(Tab1C[2], false)
call BlzFrameSetEnable(Tab1C[2], true)
set udg_TabB1 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab2C02Func takes nothing returns nothing
call BlzFrameSetEnable(Tab2C[2], false)
call BlzFrameSetEnable(Tab2C[2], true)
set udg_TabB2 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab3C02Func takes nothing returns nothing
call BlzFrameSetEnable(Tab3C[2], false)
call BlzFrameSetEnable(Tab3C[2], true)
set udg_TabB3 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab4C02Func takes nothing returns nothing
call BlzFrameSetEnable(Tab4C[2], false)
call BlzFrameSetEnable(Tab4C[2], true)
set udg_TabB4 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab5C02Func takes nothing returns nothing
call BlzFrameSetEnable(Tab5C[2], false)
call BlzFrameSetEnable(Tab5C[2], true)
set udg_TabB5 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab6C02Func takes nothing returns nothing
call BlzFrameSetEnable(Tab6C[2], false)
call BlzFrameSetEnable(Tab6C[2], true)
set udg_TabB6 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab7C02Func takes nothing returns nothing
call BlzFrameSetEnable(Tab7C[2], false)
call BlzFrameSetEnable(Tab7C[2], true)
set udg_TabB7 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab8C02Func takes nothing returns nothing
call BlzFrameSetEnable(Tab8C[2], false)
call BlzFrameSetEnable(Tab8C[2], true)
set udg_TabB8 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab9C02Func takes nothing returns nothing
call BlzFrameSetEnable(Tab9C[2], false)
call BlzFrameSetEnable(Tab9C[2], true)
set udg_TabB9 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab12C02Func takes nothing returns nothing
call BlzFrameSetEnable(Tab12C[2], false)
call BlzFrameSetEnable(Tab12C[2], true)
set udg_TabB12 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab10C02Func takes nothing returns nothing
call BlzFrameSetEnable(Tab10C[2], false)
call BlzFrameSetEnable(Tab10C[2], true)
set udg_TabB10 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab11C02Func takes nothing returns nothing
call BlzFrameSetEnable(Tab11C[2], false)
call BlzFrameSetEnable(Tab11C[2], true)
set udg_TabB11 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab1C03Func takes nothing returns nothing
call BlzFrameSetEnable(Tab1C[3], false)
call BlzFrameSetEnable(Tab1C[3], true)
set udg_TabB1 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab2C03Func takes nothing returns nothing
call BlzFrameSetEnable(Tab2C[3], false)
call BlzFrameSetEnable(Tab2C[3], true)
set udg_TabB2 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab3C03Func takes nothing returns nothing
call BlzFrameSetEnable(Tab3C[3], false)
call BlzFrameSetEnable(Tab3C[3], true)
set udg_TabB3 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab4C03Func takes nothing returns nothing
call BlzFrameSetEnable(Tab4C[3], false)
call BlzFrameSetEnable(Tab4C[3], true)
set udg_TabB4 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab5C03Func takes nothing returns nothing
call BlzFrameSetEnable(Tab5C[3], false)
call BlzFrameSetEnable(Tab5C[3], true)
set udg_TabB5 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab6C03Func takes nothing returns nothing
call BlzFrameSetEnable(Tab6C[3], false)
call BlzFrameSetEnable(Tab6C[3], true)
set udg_TabB6 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab7C03Func takes nothing returns nothing
call BlzFrameSetEnable(Tab7C[3], false)
call BlzFrameSetEnable(Tab7C[3], true)
set udg_TabB7 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab8C03Func takes nothing returns nothing
call BlzFrameSetEnable(Tab8C[3], false)
call BlzFrameSetEnable(Tab8C[3], true)
set udg_TabB8 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab9C03Func takes nothing returns nothing
call BlzFrameSetEnable(Tab9C[3], false)
call BlzFrameSetEnable(Tab9C[3], true)
set udg_TabB9 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab12C03Func takes nothing returns nothing
call BlzFrameSetEnable(Tab12C[3], false)
call BlzFrameSetEnable(Tab12C[3], true)
set udg_TabB12 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab10C03Func takes nothing returns nothing
call BlzFrameSetEnable(Tab10C[3], false)
call BlzFrameSetEnable(Tab10C[3], true)
set udg_TabB10 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab11C03Func takes nothing returns nothing
call BlzFrameSetEnable(Tab11C[3], false)
call BlzFrameSetEnable(Tab11C[3], true)
set udg_TabB11 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab1C04Func takes nothing returns nothing
call BlzFrameSetEnable(Tab1C[4], false)
call BlzFrameSetEnable(Tab1C[4], true)
set udg_TabB1 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab2C04Func takes nothing returns nothing
call BlzFrameSetEnable(Tab2C[4], false)
call BlzFrameSetEnable(Tab2C[4], true)
set udg_TabB2 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab3C04Func takes nothing returns nothing
call BlzFrameSetEnable(Tab3C[4], false)
call BlzFrameSetEnable(Tab3C[4], true)
set udg_TabB3 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab4C04Func takes nothing returns nothing
call BlzFrameSetEnable(Tab4C[4], false)
call BlzFrameSetEnable(Tab4C[4], true)
set udg_TabB4 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab5C04Func takes nothing returns nothing
call BlzFrameSetEnable(Tab5C[4], false)
call BlzFrameSetEnable(Tab5C[4], true)
set udg_TabB5 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab6C04Func takes nothing returns nothing
call BlzFrameSetEnable(Tab6C[4], false)
call BlzFrameSetEnable(Tab6C[4], true)
set udg_TabB6 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab7C04Func takes nothing returns nothing
call BlzFrameSetEnable(Tab7C[4], false)
call BlzFrameSetEnable(Tab7C[4], true)
set udg_TabB7 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab8C04Func takes nothing returns nothing
call BlzFrameSetEnable(Tab8C[4], false)
call BlzFrameSetEnable(Tab8C[4], true)
set udg_TabB8 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab9C04Func takes nothing returns nothing
call BlzFrameSetEnable(Tab9C[4], false)
call BlzFrameSetEnable(Tab9C[4], true)
set udg_TabB9 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab12C04Func takes nothing returns nothing
call BlzFrameSetEnable(Tab12C[4], false)
call BlzFrameSetEnable(Tab12C[4], true)
set udg_TabB12 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab10C04Func takes nothing returns nothing
call BlzFrameSetEnable(Tab10C[4], false)
call BlzFrameSetEnable(Tab10C[4], true)
set udg_TabB10 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab11C04Func takes nothing returns nothing
call BlzFrameSetEnable(Tab11C[4], false)
call BlzFrameSetEnable(Tab11C[4], true)
set udg_TabB11 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab1C05Func takes nothing returns nothing
call BlzFrameSetEnable(Tab1C[5], false)
call BlzFrameSetEnable(Tab1C[5], true)
set udg_TabB1 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab2C05Func takes nothing returns nothing
call BlzFrameSetEnable(Tab2C[5], false)
call BlzFrameSetEnable(Tab2C[5], true)
set udg_TabB2 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab3C05Func takes nothing returns nothing
call BlzFrameSetEnable(Tab3C[5], false)
call BlzFrameSetEnable(Tab3C[5], true)
set udg_TabB3 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab4C05Func takes nothing returns nothing
call BlzFrameSetEnable(Tab4C[5], false)
call BlzFrameSetEnable(Tab4C[5], true)
set udg_TabB4 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab5C05Func takes nothing returns nothing
call BlzFrameSetEnable(Tab5C[5], false)
call BlzFrameSetEnable(Tab5C[5], true)
set udg_TabB5 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab6C05Func takes nothing returns nothing
call BlzFrameSetEnable(Tab6C[5], false)
call BlzFrameSetEnable(Tab6C[5], true)
set udg_TabB6 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab7C05Func takes nothing returns nothing
call BlzFrameSetEnable(Tab7C[5], false)
call BlzFrameSetEnable(Tab7C[5], true)
set udg_TabB7 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab8C05Func takes nothing returns nothing
call BlzFrameSetEnable(Tab8C[5], false)
call BlzFrameSetEnable(Tab8C[5], true)
set udg_TabB8 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab9C05Func takes nothing returns nothing
call BlzFrameSetEnable(Tab9C[5], false)
call BlzFrameSetEnable(Tab9C[5], true)
set udg_TabB9 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab12C05Func takes nothing returns nothing
call BlzFrameSetEnable(Tab12C[5], false)
call BlzFrameSetEnable(Tab12C[5], true)
set udg_TabB12 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab10C05Func takes nothing returns nothing
call BlzFrameSetEnable(Tab10C[5], false)
call BlzFrameSetEnable(Tab10C[5], true)
set udg_TabB10 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab11C05Func takes nothing returns nothing
call BlzFrameSetEnable(Tab11C[5], false)
call BlzFrameSetEnable(Tab11C[5], true)
set udg_TabB11 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab1C06Func takes nothing returns nothing
call BlzFrameSetEnable(Tab1C[6], false)
call BlzFrameSetEnable(Tab1C[6], true)
set udg_TabB1 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab2C06Func takes nothing returns nothing
call BlzFrameSetEnable(Tab2C[6], false)
call BlzFrameSetEnable(Tab2C[6], true)
set udg_TabB2 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab3C06Func takes nothing returns nothing
call BlzFrameSetEnable(Tab3C[6], false)
call BlzFrameSetEnable(Tab3C[6], true)
set udg_TabB3 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab4C06Func takes nothing returns nothing
call BlzFrameSetEnable(Tab4C[6], false)
call BlzFrameSetEnable(Tab4C[6], true)
set udg_TabB4 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab5C06Func takes nothing returns nothing
call BlzFrameSetEnable(Tab5C[6], false)
call BlzFrameSetEnable(Tab5C[6], true)
set udg_TabB5 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab6C06Func takes nothing returns nothing
call BlzFrameSetEnable(Tab6C[6], false)
call BlzFrameSetEnable(Tab6C[6], true)
set udg_TabB6 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab7C06Func takes nothing returns nothing
call BlzFrameSetEnable(Tab7C[6], false)
call BlzFrameSetEnable(Tab7C[6], true)
set udg_TabB7 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab8C06Func takes nothing returns nothing
call BlzFrameSetEnable(Tab8C[6], false)
call BlzFrameSetEnable(Tab8C[6], true)
set udg_TabB8 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab9C06Func takes nothing returns nothing
call BlzFrameSetEnable(Tab9C[6], false)
call BlzFrameSetEnable(Tab9C[6], true)
set udg_TabB9 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab12C06Func takes nothing returns nothing
call BlzFrameSetEnable(Tab12C[6], false)
call BlzFrameSetEnable(Tab12C[6], true)
set udg_TabB12 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab10C06Func takes nothing returns nothing
call BlzFrameSetEnable(Tab10C[6], false)
call BlzFrameSetEnable(Tab10C[6], true)
set udg_TabB10 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function Tab11C06Func takes nothing returns nothing
call BlzFrameSetEnable(Tab11C[6], false)
call BlzFrameSetEnable(Tab11C[6], true)
set udg_TabB11 = GetConvertedPlayerId(GetTriggerPlayer())
endfunction
 
function TheMapFunc takes nothing returns nothing
call BlzFrameSetEnable(TheMap, false)
call BlzFrameSetEnable(TheMap, true)
endfunction
 
private function init takes nothing returns nothing

set CustomUIBDC[0] = BlzCreateFrameByType("BACKDROP", "CustomUIBDC[0]", BlzGetFrameByName("ConsoleUIBackdrop", 0), "", 1)
 call BlzFrameSetAbsPoint(CustomUIBDC[0], FRAMEPOINT_TOPLEFT, 0.169230, 0.124879)
 call BlzFrameSetAbsPoint(CustomUIBDC[0], FRAMEPOINT_BOTTOMRIGHT, 0.645320, 0.000368960)
 call BlzFrameSetTexture(CustomUIBDC[0], "CustomUISide.blp", 0, true)

set CustomUIBDC[1] = BlzCreateFrameByType("BACKDROP", "CustomUIBDC[1]", BlzGetFrameByName("ConsoleUIBackdrop", 0), "", 1)
 call BlzFrameSetAbsPoint(CustomUIBDC[1], FRAMEPOINT_TOPLEFT, 0.169230, 0.124879)
 call BlzFrameSetAbsPoint(CustomUIBDC[1], FRAMEPOINT_BOTTOMRIGHT, 0.645320, 0.000368960)
 call BlzFrameSetTexture(CustomUIBDC[1], "CustomUISide.blp", 0, true)

set CustomUIBDC[2] = BlzCreateFrameByType("BACKDROP", "CustomUIBDC[2]", BlzGetFrameByName("ConsoleUIBackdrop", 0), "", 1)
 call BlzFrameSetAbsPoint(CustomUIBDC[2], FRAMEPOINT_TOPLEFT, 0.169230, 0.124879)
 call BlzFrameSetAbsPoint(CustomUIBDC[2], FRAMEPOINT_BOTTOMRIGHT, 0.645320, 0.000368960)
 call BlzFrameSetTexture(CustomUIBDC[2], "CustomUISide.blp", 0, true)

set CustomUIBDC[3] = BlzCreateFrameByType("BACKDROP", "CustomUIBDC[3]", BlzGetFrameByName("ConsoleUIBackdrop", 0), "", 1)
 call BlzFrameSetAbsPoint(CustomUIBDC[3], FRAMEPOINT_TOPLEFT, 0.169230, 0.124879)
 call BlzFrameSetAbsPoint(CustomUIBDC[3], FRAMEPOINT_BOTTOMRIGHT, 0.645320, 0.000368960)
 call BlzFrameSetTexture(CustomUIBDC[3], "CustomUISide.blp", 0, true)

set CustomUIBDC[4] = BlzCreateFrameByType("BACKDROP", "CustomUIBDC[4]", BlzGetFrameByName("ConsoleUIBackdrop", 0), "", 1)
 call BlzFrameSetAbsPoint(CustomUIBDC[4], FRAMEPOINT_TOPLEFT, 0.169230, 0.124879)
 call BlzFrameSetAbsPoint(CustomUIBDC[4], FRAMEPOINT_BOTTOMRIGHT, 0.645320, 0.000368960)
 call BlzFrameSetTexture(CustomUIBDC[4], "CustomUISide.blp", 0, true)

set CustomUIBDC[5] = BlzCreateFrameByType("BACKDROP", "CustomUIBDC[5]", BlzGetFrameByName("ConsoleUIBackdrop", 0), "", 1)
 call BlzFrameSetAbsPoint(CustomUIBDC[5], FRAMEPOINT_TOPLEFT, 0.169230, 0.124879)
 call BlzFrameSetAbsPoint(CustomUIBDC[5], FRAMEPOINT_BOTTOMRIGHT, 0.645320, 0.000368960)
 call BlzFrameSetTexture(CustomUIBDC[5], "CustomUISide.blp", 0, true)

set CustomUIBDC[6] = BlzCreateFrameByType("BACKDROP", "CustomUIBDC[6]", BlzGetFrameByName("ConsoleUIBackdrop", 0), "", 1)
 call BlzFrameSetAbsPoint(CustomUIBDC[6], FRAMEPOINT_TOPLEFT, 0.169230, 0.124879)
 call BlzFrameSetAbsPoint(CustomUIBDC[6], FRAMEPOINT_BOTTOMRIGHT, 0.645320, 0.000368960)
 call BlzFrameSetTexture(CustomUIBDC[6], "CustomUISide.blp", 0, true)


// The Map


        // Minimap

        set frameMinimap = BlzGetOriginFrame(ORIGIN_FRAME_MINIMAP, 0)
        call BlzFrameSetSize(frameMinimap, 0.10500, 0.10411)
           call BlzFrameSetAbsPoint(frameMinimap, FRAMEPOINT_TOPLEFT, 0.314, 0.208920)
        //call BlzFrameSetLevel(frameMinimap, -2)
              call BlzFrameSetVisible(frameMinimap, false)



 set MapBD = BlzCreateFrameByType("BACKDROP", "MapBD", BlzGetFrameByName("ConsoleUIBackdrop", 0), "", 1)
 call BlzFrameSetAbsPoint(MapBD, FRAMEPOINT_TOPLEFT, 0.310930, 0.213370)
 call BlzFrameSetAbsPoint(MapBD, FRAMEPOINT_BOTTOMRIGHT, 0.422040, 0.101740)
 call BlzFrameSetTexture(MapBD, "MapBD.blp", 0, true)


// Inventory

 call BlzFrameSetAbsPoint(BlzGetFrameByName("InventoryButton_0",0), FRAMEPOINT_TOPLEFT, 0.675, 0.123)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("InventoryButton_1",0), FRAMEPOINT_TOPLEFT, 0.708, 0.123)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("InventoryButton_2",0), FRAMEPOINT_TOPLEFT, 0.675, 0.091)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("InventoryButton_3",0), FRAMEPOINT_TOPLEFT, 0.708, 0.091)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("InventoryButton_4",0), FRAMEPOINT_TOPLEFT, 0.675, 0.059)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("InventoryButton_5",0), FRAMEPOINT_TOPLEFT, 0.708, 0.059)

// Skills

 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_8", 0), FRAMEPOINT_TOPLEFT, 0.200360, 0.0574831)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_8", 0), FRAMEPOINT_BOTTOMRIGHT, 0.251350, 0.00596210)
 call BlzFrameSetSize(BlzGetFrameByName("CommandButton_8", 0), 0.050990, 0.050990)
 
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_9", 0), FRAMEPOINT_TOPLEFT, 0.256720, 0.0569464)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_9", 0), FRAMEPOINT_BOTTOMRIGHT, 0.307710, 0.00542540)
 call BlzFrameSetSize(BlzGetFrameByName("CommandButton_9", 0), 0.050990, 0.050990)
 
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_10", 0), FRAMEPOINT_TOPLEFT, 0.313070, 0.0569464)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_10", 0), FRAMEPOINT_BOTTOMRIGHT, 0.364060, 0.00542540)
 call BlzFrameSetSize(BlzGetFrameByName("CommandButton_10", 0), 0.050990, 0.050990)
 
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_5", 0), FRAMEPOINT_TOPLEFT, 0.368890, 0.0564098)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_5", 0), FRAMEPOINT_BOTTOMRIGHT, 0.419880, 0.00488880)
 call BlzFrameSetSize(BlzGetFrameByName("CommandButton_5", 0), 0.050990, 0.050990)
 
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_6", 0), FRAMEPOINT_TOPLEFT, 0.425790, 0.0569464)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_6", 0), FRAMEPOINT_BOTTOMRIGHT, 0.476780, 0.00542540)
 call BlzFrameSetSize(BlzGetFrameByName("CommandButton_6", 0), 0.050990, 0.050990)
 
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_7", 0), FRAMEPOINT_TOPLEFT, 0.481070, 0.0564098)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_7", 0), FRAMEPOINT_BOTTOMRIGHT, 0.532060, 0.00488880)
 call BlzFrameSetSize(BlzGetFrameByName("CommandButton_7", 0), 0.050990, 0.050990)
 
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_0", 0), FRAMEPOINT_TOPLEFT, 0.179960, 0.0586230)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_0", 0), FRAMEPOINT_BOTTOMRIGHT, 0.196599, 0.0419860)
 call BlzFrameSetSize(BlzGetFrameByName("CommandButton_0", 0), 0.016639, 0.016639)
 
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_1", 0), FRAMEPOINT_TOPLEFT, 0.179430, 0.0398400)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_1", 0), FRAMEPOINT_BOTTOMRIGHT, 0.196069, 0.0232030)
 call BlzFrameSetSize(BlzGetFrameByName("CommandButton_1", 0), 0.016639, 0.016639)
 
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_2", 0), FRAMEPOINT_TOPLEFT, 0.179430, 0.0210562)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_2", 0), FRAMEPOINT_BOTTOMRIGHT, 0.196069, 0.00441920)
 call BlzFrameSetSize(BlzGetFrameByName("CommandButton_2", 0), 0.016639, 0.016639)
 
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_3", 0), FRAMEPOINT_TOPLEFT, 0.536890, 0.0586230)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_3", 0), FRAMEPOINT_BOTTOMRIGHT, 0.553529, 0.0419860)
 call BlzFrameSetSize(BlzGetFrameByName("CommandButton_3", 0), 0.016639, 0.016639)
 
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_4", 0), FRAMEPOINT_TOPLEFT, 0.536890, 0.0398400)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_4", 0), FRAMEPOINT_BOTTOMRIGHT, 0.553529, 0.0232030)
 call BlzFrameSetSize(BlzGetFrameByName("CommandButton_4", 0), 0.016639, 0.016639)
 
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_11", 0), FRAMEPOINT_TOPLEFT, 0.536890, 0.0210562)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("CommandButton_11", 0), FRAMEPOINT_BOTTOMRIGHT, 0.553529, 0.00441920)
 call BlzFrameSetSize(BlzGetFrameByName("CommandButton_11", 0), 0.016639, 0.016639)

// Other

set PlayerMPC[0] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[0], "", 0)
call BlzFrameSetAbsPoint(PlayerMPC[0], FRAMEPOINT_TOPLEFT, 0.177810, 0.0763670)
call BlzFrameSetAbsPoint(PlayerMPC[0], FRAMEPOINT_BOTTOMRIGHT, 0.288920, 0.0608030)
call BlzFrameSetText(PlayerMPC[0], "|cff3700ffPlayer MP\n|r")
call BlzFrameSetEnable(PlayerMPC[0], false)
call BlzFrameSetScale(PlayerMPC[0], 1.00)
call BlzFrameSetTextAlignment(PlayerMPC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set PlayerHPC[0] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[0], "", 0)
call BlzFrameSetAbsPoint(PlayerHPC[0], FRAMEPOINT_TOPLEFT, 0.177810, 0.0940780)
call BlzFrameSetAbsPoint(PlayerHPC[0], FRAMEPOINT_BOTTOMRIGHT, 0.288380, 0.0785140)
call BlzFrameSetText(PlayerHPC[0], "|cffff0019Player HP|r")
call BlzFrameSetEnable(PlayerHPC[0], false)
call BlzFrameSetScale(PlayerHPC[0], 1.00)
call BlzFrameSetTextAlignment(PlayerHPC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set TargetHPC[0] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[0], "", 0)
call BlzFrameSetAbsPoint(TargetHPC[0], FRAMEPOINT_TOPLEFT, 0.444040, 0.0940780)
call BlzFrameSetAbsPoint(TargetHPC[0], FRAMEPOINT_BOTTOMRIGHT, 0.554610, 0.0785140)
call BlzFrameSetText(TargetHPC[0], "|cffff00ddTarget HP|r")
call BlzFrameSetEnable(TargetHPC[0], false)
call BlzFrameSetScale(TargetHPC[0], 1.00)
call BlzFrameSetTextAlignment(TargetHPC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set TargetMPC[0] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[0], "", 0)
call BlzFrameSetAbsPoint(TargetMPC[0], FRAMEPOINT_TOPLEFT, 0.444040, 0.0769030)
call BlzFrameSetAbsPoint(TargetMPC[0], FRAMEPOINT_BOTTOMRIGHT, 0.555150, 0.0608030)
call BlzFrameSetText(TargetMPC[0], "|cff00bfffTarget MP|r")
call BlzFrameSetEnable(TargetMPC[0], false)
call BlzFrameSetScale(TargetMPC[0], 1.00)
call BlzFrameSetTextAlignment(TargetMPC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set GoldInfoC[0] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[0], "", 0)
call BlzFrameSetAbsPoint(GoldInfoC[0], FRAMEPOINT_TOPLEFT, 0.294290, 0.0849290)
call BlzFrameSetAbsPoint(GoldInfoC[0], FRAMEPOINT_BOTTOMRIGHT, 0.323811, 0.0699020)
call BlzFrameSetText(GoldInfoC[0], "|cffFFCC00Gold|r")
call BlzFrameSetEnable(GoldInfoC[0], false)
call BlzFrameSetScale(GoldInfoC[0], 0.715)
call BlzFrameSetTextAlignment(GoldInfoC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set LumberInfoCopyC[0] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[0], "", 0)
call BlzFrameSetAbsPoint(LumberInfoCopyC[0], FRAMEPOINT_TOPLEFT, 0.343670, 0.0849290)
call BlzFrameSetAbsPoint(LumberInfoCopyC[0], FRAMEPOINT_BOTTOMRIGHT, 0.373191, 0.0699020)
call BlzFrameSetText(LumberInfoCopyC[0], "|cff9c8163Lumber|r")
call BlzFrameSetEnable(LumberInfoCopyC[0], false)
call BlzFrameSetScale(LumberInfoCopyC[0], 0.715)
call BlzFrameSetTextAlignment(LumberInfoCopyC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set PowerInfoC[0] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[0], "", 0)
call BlzFrameSetAbsPoint(PowerInfoC[0], FRAMEPOINT_TOPLEFT, 0.393580, 0.0849290)
call BlzFrameSetAbsPoint(PowerInfoC[0], FRAMEPOINT_BOTTOMRIGHT, 0.423101, 0.0699020)
call BlzFrameSetText(PowerInfoC[0], "|cff0fefffPower|r")
call BlzFrameSetEnable(PowerInfoC[0], false)
call BlzFrameSetScale(PowerInfoC[0], 0.572)
call BlzFrameSetTextAlignment(PowerInfoC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set Tab1C[0] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[0], 0, 0)
 call BlzFrameSetAbsPoint(Tab1C[0], FRAMEPOINT_TOPLEFT, 0.178350, 0.116584)
 call BlzFrameSetAbsPoint(Tab1C[0], FRAMEPOINT_BOTTOMRIGHT, 0.194989, 0.0999470)
 set BackdropTab1C[0] = BlzCreateFrameByType("BACKDROP", "BackdropTab1C[0]", Tab1C[0], "", 1)
 call BlzFrameSetAllPoints(BackdropTab1C[0], Tab1C[0])
 call BlzFrameSetTexture(BackdropTab1C[0], "BiologyB.blp", 0, true)
set TriggerTab1C[0] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab1C[0], Tab1C[0], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab1C[0], function Tab1C00Func)

set Tab2C[0] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[0], 0, 0)
 call BlzFrameSetAbsPoint(Tab2C[0], FRAMEPOINT_TOPLEFT, 0.199280, 0.116047)
 call BlzFrameSetAbsPoint(Tab2C[0], FRAMEPOINT_BOTTOMRIGHT, 0.215919, 0.0994100)
 set BackdropTab2C[0] = BlzCreateFrameByType("BACKDROP", "BackdropTab2C[0]", Tab2C[0], "", 1)
 call BlzFrameSetAllPoints(BackdropTab2C[0], Tab2C[0])
 call BlzFrameSetTexture(BackdropTab2C[0], "MechanicB.blp", 0, true)
set TriggerTab2C[0] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab2C[0], Tab2C[0], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab2C[0], function Tab2C00Func)

set Tab3C[0] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[0], 0, 0)
 call BlzFrameSetAbsPoint(Tab3C[0], FRAMEPOINT_TOPLEFT, 0.220750, 0.116584)
 call BlzFrameSetAbsPoint(Tab3C[0], FRAMEPOINT_BOTTOMRIGHT, 0.237389, 0.0999470)
 set BackdropTab3C[0] = BlzCreateFrameByType("BACKDROP", "BackdropTab3C[0]", Tab3C[0], "", 1)
 call BlzFrameSetAllPoints(BackdropTab3C[0], Tab3C[0])
 call BlzFrameSetTexture(BackdropTab3C[0], "PoacherB.blp", 0, true)
set TriggerTab3C[0] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab3C[0], Tab3C[0], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab3C[0], function Tab3C00Func)

set Tab4C[0] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[0], 0, 0)
 call BlzFrameSetAbsPoint(Tab4C[0], FRAMEPOINT_TOPLEFT, 0.241690, 0.116584)
 call BlzFrameSetAbsPoint(Tab4C[0], FRAMEPOINT_BOTTOMRIGHT, 0.258329, 0.0999470)
 set BackdropTab4C[0] = BlzCreateFrameByType("BACKDROP", "BackdropTab4C[0]", Tab4C[0], "", 1)
 call BlzFrameSetAllPoints(BackdropTab4C[0], Tab4C[0])
 call BlzFrameSetTexture(BackdropTab4C[0], "PhysicsB.blp", 0, true)
set TriggerTab4C[0] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab4C[0], Tab4C[0], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab4C[0], function Tab4C00Func)

set Tab5C[0] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[0], 0, 0)
 call BlzFrameSetAbsPoint(Tab5C[0], FRAMEPOINT_TOPLEFT, 0.262080, 0.117117)
 call BlzFrameSetAbsPoint(Tab5C[0], FRAMEPOINT_BOTTOMRIGHT, 0.278719, 0.100480)
 set BackdropTab5C[0] = BlzCreateFrameByType("BACKDROP", "BackdropTab5C[0]", Tab5C[0], "", 1)
 call BlzFrameSetAllPoints(BackdropTab5C[0], Tab5C[0])
 call BlzFrameSetTexture(BackdropTab5C[0], "UndeadB.blp", 0, true)
set TriggerTab5C[0] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab5C[0], Tab5C[0], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab5C[0], function Tab5C00Func)

set Tab6C[0] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[0], 0, 0)
 call BlzFrameSetAbsPoint(Tab6C[0], FRAMEPOINT_TOPLEFT, 0.283550, 0.116584)
 call BlzFrameSetAbsPoint(Tab6C[0], FRAMEPOINT_BOTTOMRIGHT, 0.300189, 0.0999470)
 set BackdropTab6C[0] = BlzCreateFrameByType("BACKDROP", "BackdropTab6C[0]", Tab6C[0], "", 1)
 call BlzFrameSetAllPoints(BackdropTab6C[0], Tab6C[0])
 call BlzFrameSetTexture(BackdropTab6C[0], "AdaptiveB.blp", 0, true)
set TriggerTab6C[0] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab6C[0], Tab6C[0], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab6C[0], function Tab6C00Func)

set Tab7C[0] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[0], 0, 0)
 call BlzFrameSetAbsPoint(Tab7C[0], FRAMEPOINT_TOPLEFT, 0.433300, 0.116584)
 call BlzFrameSetAbsPoint(Tab7C[0], FRAMEPOINT_BOTTOMRIGHT, 0.449939, 0.0999470)
 set BackdropTab7C[0] = BlzCreateFrameByType("BACKDROP", "BackdropTab7C[0]", Tab7C[0], "", 1)
 call BlzFrameSetAllPoints(BackdropTab7C[0], Tab7C[0])
 call BlzFrameSetTexture(BackdropTab7C[0], "CamB.blp", 0, true)
set TriggerTab7C[0] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab7C[0], Tab7C[0], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab7C[0], function Tab7C00Func)

set Tab8C[0] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[0], 0, 0)
 call BlzFrameSetAbsPoint(Tab8C[0], FRAMEPOINT_TOPLEFT, 0.453700, 0.116584)
 call BlzFrameSetAbsPoint(Tab8C[0], FRAMEPOINT_BOTTOMRIGHT, 0.470339, 0.0999470)
 set BackdropTab8C[0] = BlzCreateFrameByType("BACKDROP", "BackdropTab8C[0]", Tab8C[0], "", 1)
 call BlzFrameSetAllPoints(BackdropTab8C[0], Tab8C[0])
 call BlzFrameSetTexture(BackdropTab8C[0], "CraftB.blp", 0, true)
set TriggerTab8C[0] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab8C[0], Tab8C[0], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab8C[0], function Tab8C00Func)

set Tab9C[0] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[0], 0, 0)
 call BlzFrameSetAbsPoint(Tab9C[0], FRAMEPOINT_TOPLEFT, 0.475170, 0.116047)
 call BlzFrameSetAbsPoint(Tab9C[0], FRAMEPOINT_BOTTOMRIGHT, 0.491809, 0.0994100)
 set BackdropTab9C[0] = BlzCreateFrameByType("BACKDROP", "BackdropTab9C[0]", Tab9C[0], "", 1)
 call BlzFrameSetAllPoints(BackdropTab9C[0], Tab9C[0])
 call BlzFrameSetTexture(BackdropTab9C[0], "BaPB.blp", 0, true)
set TriggerTab9C[0] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab9C[0], Tab9C[0], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab9C[0], function Tab9C00Func)

set Tab12C[0] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[0], 0, 0)
 call BlzFrameSetAbsPoint(Tab12C[0], FRAMEPOINT_TOPLEFT, 0.539040, 0.116584)
 call BlzFrameSetAbsPoint(Tab12C[0], FRAMEPOINT_BOTTOMRIGHT, 0.555679, 0.0999470)
 set BackdropTab12C[0] = BlzCreateFrameByType("BACKDROP", "BackdropTab12C[0]", Tab12C[0], "", 1)
 call BlzFrameSetAllPoints(BackdropTab12C[0], Tab12C[0])
 call BlzFrameSetTexture(BackdropTab12C[0], "LPB.blp", 0, true)
set TriggerTab12C[0] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab12C[0], Tab12C[0], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab12C[0], function Tab12C00Func)

set Tab10C[0] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[0], 0, 0)
 call BlzFrameSetAbsPoint(Tab10C[0], FRAMEPOINT_TOPLEFT, 0.496640, 0.116584)
 call BlzFrameSetAbsPoint(Tab10C[0], FRAMEPOINT_BOTTOMRIGHT, 0.513279, 0.0999470)
 set BackdropTab10C[0] = BlzCreateFrameByType("BACKDROP", "BackdropTab10C[0]", Tab10C[0], "", 1)
 call BlzFrameSetAllPoints(BackdropTab10C[0], Tab10C[0])
 call BlzFrameSetTexture(BackdropTab10C[0], "CustomFrame.png", 0, true)
set TriggerTab10C[0] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab10C[0], Tab10C[0], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab10C[0], function Tab10C00Func)

set Tab11C[0] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[0], 0, 0)
 call BlzFrameSetAbsPoint(Tab11C[0], FRAMEPOINT_TOPLEFT, 0.517570, 0.116584)
 call BlzFrameSetAbsPoint(Tab11C[0], FRAMEPOINT_BOTTOMRIGHT, 0.534209, 0.0999470)
 set BackdropTab11C[0] = BlzCreateFrameByType("BACKDROP", "BackdropTab11C[0]", Tab11C[0], "", 1)
 call BlzFrameSetAllPoints(BackdropTab11C[0], Tab11C[0])
 call BlzFrameSetTexture(BackdropTab11C[0], "CustomFrame.png", 0, true)
set TriggerTab11C[0] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab11C[0], Tab11C[0], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab11C[0], function Tab11C00Func)

set PlayerMPC[1] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[1], "", 0)
call BlzFrameSetAbsPoint(PlayerMPC[1], FRAMEPOINT_TOPLEFT, 0.177810, 0.0763670)
call BlzFrameSetAbsPoint(PlayerMPC[1], FRAMEPOINT_BOTTOMRIGHT, 0.288920, 0.0608030)
call BlzFrameSetText(PlayerMPC[1], "|cff3700ffPlayer MP\n|r")
call BlzFrameSetEnable(PlayerMPC[1], false)
call BlzFrameSetScale(PlayerMPC[1], 1.00)
call BlzFrameSetTextAlignment(PlayerMPC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set PlayerHPC[1] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[1], "", 0)
call BlzFrameSetAbsPoint(PlayerHPC[1], FRAMEPOINT_TOPLEFT, 0.177810, 0.0940780)
call BlzFrameSetAbsPoint(PlayerHPC[1], FRAMEPOINT_BOTTOMRIGHT, 0.288380, 0.0785140)
call BlzFrameSetText(PlayerHPC[1], "|cffff0019Player HP|r")
call BlzFrameSetEnable(PlayerHPC[1], false)
call BlzFrameSetScale(PlayerHPC[1], 1.00)
call BlzFrameSetTextAlignment(PlayerHPC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set TargetHPC[1] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[1], "", 0)
call BlzFrameSetAbsPoint(TargetHPC[1], FRAMEPOINT_TOPLEFT, 0.444040, 0.0940780)
call BlzFrameSetAbsPoint(TargetHPC[1], FRAMEPOINT_BOTTOMRIGHT, 0.554610, 0.0785140)
call BlzFrameSetText(TargetHPC[1], "|cffff00ddTarget HP|r")
call BlzFrameSetEnable(TargetHPC[1], false)
call BlzFrameSetScale(TargetHPC[1], 1.00)
call BlzFrameSetTextAlignment(TargetHPC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set TargetMPC[1] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[1], "", 0)
call BlzFrameSetAbsPoint(TargetMPC[1], FRAMEPOINT_TOPLEFT, 0.444040, 0.0769030)
call BlzFrameSetAbsPoint(TargetMPC[1], FRAMEPOINT_BOTTOMRIGHT, 0.555150, 0.0608030)
call BlzFrameSetText(TargetMPC[1], "|cff00bfffTarget MP|r")
call BlzFrameSetEnable(TargetMPC[1], false)
call BlzFrameSetScale(TargetMPC[1], 1.00)
call BlzFrameSetTextAlignment(TargetMPC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set GoldInfoC[1] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[1], "", 0)
call BlzFrameSetAbsPoint(GoldInfoC[1], FRAMEPOINT_TOPLEFT, 0.294290, 0.0849290)
call BlzFrameSetAbsPoint(GoldInfoC[1], FRAMEPOINT_BOTTOMRIGHT, 0.323811, 0.0699020)
call BlzFrameSetText(GoldInfoC[1], "|cffFFCC00Gold|r")
call BlzFrameSetEnable(GoldInfoC[1], false)
call BlzFrameSetScale(GoldInfoC[1], 0.715)
call BlzFrameSetTextAlignment(GoldInfoC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set LumberInfoCopyC[1] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[1], "", 0)
call BlzFrameSetAbsPoint(LumberInfoCopyC[1], FRAMEPOINT_TOPLEFT, 0.343670, 0.0849290)
call BlzFrameSetAbsPoint(LumberInfoCopyC[1], FRAMEPOINT_BOTTOMRIGHT, 0.373191, 0.0699020)
call BlzFrameSetText(LumberInfoCopyC[1], "|cff9c8163Lumber|r")
call BlzFrameSetEnable(LumberInfoCopyC[1], false)
call BlzFrameSetScale(LumberInfoCopyC[1], 0.715)
call BlzFrameSetTextAlignment(LumberInfoCopyC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set PowerInfoC[1] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[1], "", 0)
call BlzFrameSetAbsPoint(PowerInfoC[1], FRAMEPOINT_TOPLEFT, 0.393580, 0.0849290)
call BlzFrameSetAbsPoint(PowerInfoC[1], FRAMEPOINT_BOTTOMRIGHT, 0.423101, 0.0699020)
call BlzFrameSetText(PowerInfoC[1], "|cff0fefffPower|r")
call BlzFrameSetEnable(PowerInfoC[1], false)
call BlzFrameSetScale(PowerInfoC[1], 0.572)
call BlzFrameSetTextAlignment(PowerInfoC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set Tab1C[1] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[1], 0, 0)
 call BlzFrameSetAbsPoint(Tab1C[1], FRAMEPOINT_TOPLEFT, 0.178350, 0.116584)
 call BlzFrameSetAbsPoint(Tab1C[1], FRAMEPOINT_BOTTOMRIGHT, 0.194989, 0.0999470)
 set BackdropTab1C[1] = BlzCreateFrameByType("BACKDROP", "BackdropTab1C[1]", Tab1C[1], "", 1)
 call BlzFrameSetAllPoints(BackdropTab1C[1], Tab1C[1])
 call BlzFrameSetTexture(BackdropTab1C[1], "BiologyB.blp", 0, true)
set TriggerTab1C[1] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab1C[1], Tab1C[1], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab1C[1], function Tab1C01Func)

set Tab2C[1] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[1], 0, 0)
 call BlzFrameSetAbsPoint(Tab2C[1], FRAMEPOINT_TOPLEFT, 0.199280, 0.116047)
 call BlzFrameSetAbsPoint(Tab2C[1], FRAMEPOINT_BOTTOMRIGHT, 0.215919, 0.0994100)
 set BackdropTab2C[1] = BlzCreateFrameByType("BACKDROP", "BackdropTab2C[1]", Tab2C[1], "", 1)
 call BlzFrameSetAllPoints(BackdropTab2C[1], Tab2C[1])
 call BlzFrameSetTexture(BackdropTab2C[1], "MechanicB.blp", 0, true)
set TriggerTab2C[1] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab2C[1], Tab2C[1], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab2C[1], function Tab2C01Func)

set Tab3C[1] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[1], 0, 0)
 call BlzFrameSetAbsPoint(Tab3C[1], FRAMEPOINT_TOPLEFT, 0.220750, 0.116584)
 call BlzFrameSetAbsPoint(Tab3C[1], FRAMEPOINT_BOTTOMRIGHT, 0.237389, 0.0999470)
 set BackdropTab3C[1] = BlzCreateFrameByType("BACKDROP", "BackdropTab3C[1]", Tab3C[1], "", 1)
 call BlzFrameSetAllPoints(BackdropTab3C[1], Tab3C[1])
 call BlzFrameSetTexture(BackdropTab3C[1], "PoacherB.blp", 0, true)
set TriggerTab3C[1] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab3C[1], Tab3C[1], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab3C[1], function Tab3C01Func)

set Tab4C[1] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[1], 0, 0)
 call BlzFrameSetAbsPoint(Tab4C[1], FRAMEPOINT_TOPLEFT, 0.241690, 0.116584)
 call BlzFrameSetAbsPoint(Tab4C[1], FRAMEPOINT_BOTTOMRIGHT, 0.258329, 0.0999470)
 set BackdropTab4C[1] = BlzCreateFrameByType("BACKDROP", "BackdropTab4C[1]", Tab4C[1], "", 1)
 call BlzFrameSetAllPoints(BackdropTab4C[1], Tab4C[1])
 call BlzFrameSetTexture(BackdropTab4C[1], "PhysicsB.blp", 0, true)
set TriggerTab4C[1] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab4C[1], Tab4C[1], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab4C[1], function Tab4C01Func)

set Tab5C[1] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[1], 0, 0)
 call BlzFrameSetAbsPoint(Tab5C[1], FRAMEPOINT_TOPLEFT, 0.262080, 0.117117)
 call BlzFrameSetAbsPoint(Tab5C[1], FRAMEPOINT_BOTTOMRIGHT, 0.278719, 0.100480)
 set BackdropTab5C[1] = BlzCreateFrameByType("BACKDROP", "BackdropTab5C[1]", Tab5C[1], "", 1)
 call BlzFrameSetAllPoints(BackdropTab5C[1], Tab5C[1])
 call BlzFrameSetTexture(BackdropTab5C[1], "UndeadB.blp", 0, true)
set TriggerTab5C[1] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab5C[1], Tab5C[1], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab5C[1], function Tab5C01Func)

set Tab6C[1] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[1], 0, 0)
 call BlzFrameSetAbsPoint(Tab6C[1], FRAMEPOINT_TOPLEFT, 0.283550, 0.116584)
 call BlzFrameSetAbsPoint(Tab6C[1], FRAMEPOINT_BOTTOMRIGHT, 0.300189, 0.0999470)
 set BackdropTab6C[1] = BlzCreateFrameByType("BACKDROP", "BackdropTab6C[1]", Tab6C[1], "", 1)
 call BlzFrameSetAllPoints(BackdropTab6C[1], Tab6C[1])
 call BlzFrameSetTexture(BackdropTab6C[1], "AdaptiveB.blp", 0, true)
set TriggerTab6C[1] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab6C[1], Tab6C[1], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab6C[1], function Tab6C01Func)

set Tab7C[1] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[1], 0, 0)
 call BlzFrameSetAbsPoint(Tab7C[1], FRAMEPOINT_TOPLEFT, 0.433300, 0.116584)
 call BlzFrameSetAbsPoint(Tab7C[1], FRAMEPOINT_BOTTOMRIGHT, 0.449939, 0.0999470)
 set BackdropTab7C[1] = BlzCreateFrameByType("BACKDROP", "BackdropTab7C[1]", Tab7C[1], "", 1)
 call BlzFrameSetAllPoints(BackdropTab7C[1], Tab7C[1])
 call BlzFrameSetTexture(BackdropTab7C[1], "CamB.blp", 0, true)
set TriggerTab7C[1] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab7C[1], Tab7C[1], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab7C[1], function Tab7C01Func)

set Tab8C[1] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[1], 0, 0)
 call BlzFrameSetAbsPoint(Tab8C[1], FRAMEPOINT_TOPLEFT, 0.453700, 0.116584)
 call BlzFrameSetAbsPoint(Tab8C[1], FRAMEPOINT_BOTTOMRIGHT, 0.470339, 0.0999470)
 set BackdropTab8C[1] = BlzCreateFrameByType("BACKDROP", "BackdropTab8C[1]", Tab8C[1], "", 1)
 call BlzFrameSetAllPoints(BackdropTab8C[1], Tab8C[1])
 call BlzFrameSetTexture(BackdropTab8C[1], "CraftB.blp", 0, true)
set TriggerTab8C[1] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab8C[1], Tab8C[1], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab8C[1], function Tab8C01Func)

set Tab9C[1] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[1], 0, 0)
 call BlzFrameSetAbsPoint(Tab9C[1], FRAMEPOINT_TOPLEFT, 0.475170, 0.116047)
 call BlzFrameSetAbsPoint(Tab9C[1], FRAMEPOINT_BOTTOMRIGHT, 0.491809, 0.0994100)
 set BackdropTab9C[1] = BlzCreateFrameByType("BACKDROP", "BackdropTab9C[1]", Tab9C[1], "", 1)
 call BlzFrameSetAllPoints(BackdropTab9C[1], Tab9C[1])
 call BlzFrameSetTexture(BackdropTab9C[1], "BaPB.blp", 0, true)
set TriggerTab9C[1] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab9C[1], Tab9C[1], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab9C[1], function Tab9C01Func)

set Tab12C[1] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[1], 0, 0)
 call BlzFrameSetAbsPoint(Tab12C[1], FRAMEPOINT_TOPLEFT, 0.539040, 0.116584)
 call BlzFrameSetAbsPoint(Tab12C[1], FRAMEPOINT_BOTTOMRIGHT, 0.555679, 0.0999470)
 set BackdropTab12C[1] = BlzCreateFrameByType("BACKDROP", "BackdropTab12C[1]", Tab12C[1], "", 1)
 call BlzFrameSetAllPoints(BackdropTab12C[1], Tab12C[1])
 call BlzFrameSetTexture(BackdropTab12C[1], "LPB.blp", 0, true)
set TriggerTab12C[1] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab12C[1], Tab12C[1], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab12C[1], function Tab12C01Func)

set Tab10C[1] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[1], 0, 0)
 call BlzFrameSetAbsPoint(Tab10C[1], FRAMEPOINT_TOPLEFT, 0.496640, 0.116584)
 call BlzFrameSetAbsPoint(Tab10C[1], FRAMEPOINT_BOTTOMRIGHT, 0.513279, 0.0999470)
 set BackdropTab10C[1] = BlzCreateFrameByType("BACKDROP", "BackdropTab10C[1]", Tab10C[1], "", 1)
 call BlzFrameSetAllPoints(BackdropTab10C[1], Tab10C[1])
 call BlzFrameSetTexture(BackdropTab10C[1], "CustomFrame.png", 0, true)
set TriggerTab10C[1] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab10C[1], Tab10C[1], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab10C[1], function Tab10C01Func)

set Tab11C[1] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[1], 0, 0)
 call BlzFrameSetAbsPoint(Tab11C[1], FRAMEPOINT_TOPLEFT, 0.517570, 0.116584)
 call BlzFrameSetAbsPoint(Tab11C[1], FRAMEPOINT_BOTTOMRIGHT, 0.534209, 0.0999470)
 set BackdropTab11C[1] = BlzCreateFrameByType("BACKDROP", "BackdropTab11C[1]", Tab11C[1], "", 1)
 call BlzFrameSetAllPoints(BackdropTab11C[1], Tab11C[1])
 call BlzFrameSetTexture(BackdropTab11C[1], "CustomFrame.png", 0, true)
set TriggerTab11C[1] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab11C[1], Tab11C[1], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab11C[1], function Tab11C01Func)

set PlayerMPC[2] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[2], "", 0)
call BlzFrameSetAbsPoint(PlayerMPC[2], FRAMEPOINT_TOPLEFT, 0.177810, 0.0763670)
call BlzFrameSetAbsPoint(PlayerMPC[2], FRAMEPOINT_BOTTOMRIGHT, 0.288920, 0.0608030)
call BlzFrameSetText(PlayerMPC[2], "|cff3700ffPlayer MP\n|r")
call BlzFrameSetEnable(PlayerMPC[2], false)
call BlzFrameSetScale(PlayerMPC[2], 1.00)
call BlzFrameSetTextAlignment(PlayerMPC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set PlayerHPC[2] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[2], "", 0)
call BlzFrameSetAbsPoint(PlayerHPC[2], FRAMEPOINT_TOPLEFT, 0.177810, 0.0940780)
call BlzFrameSetAbsPoint(PlayerHPC[2], FRAMEPOINT_BOTTOMRIGHT, 0.288380, 0.0785140)
call BlzFrameSetText(PlayerHPC[2], "|cffff0019Player HP|r")
call BlzFrameSetEnable(PlayerHPC[2], false)
call BlzFrameSetScale(PlayerHPC[2], 1.00)
call BlzFrameSetTextAlignment(PlayerHPC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set TargetHPC[2] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[2], "", 0)
call BlzFrameSetAbsPoint(TargetHPC[2], FRAMEPOINT_TOPLEFT, 0.444040, 0.0940780)
call BlzFrameSetAbsPoint(TargetHPC[2], FRAMEPOINT_BOTTOMRIGHT, 0.554610, 0.0785140)
call BlzFrameSetText(TargetHPC[2], "|cffff00ddTarget HP|r")
call BlzFrameSetEnable(TargetHPC[2], false)
call BlzFrameSetScale(TargetHPC[2], 1.00)
call BlzFrameSetTextAlignment(TargetHPC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set TargetMPC[2] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[2], "", 0)
call BlzFrameSetAbsPoint(TargetMPC[2], FRAMEPOINT_TOPLEFT, 0.444040, 0.0769030)
call BlzFrameSetAbsPoint(TargetMPC[2], FRAMEPOINT_BOTTOMRIGHT, 0.555150, 0.0608030)
call BlzFrameSetText(TargetMPC[2], "|cff00bfffTarget MP|r")
call BlzFrameSetEnable(TargetMPC[2], false)
call BlzFrameSetScale(TargetMPC[2], 1.00)
call BlzFrameSetTextAlignment(TargetMPC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set GoldInfoC[2] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[2], "", 0)
call BlzFrameSetAbsPoint(GoldInfoC[2], FRAMEPOINT_TOPLEFT, 0.294290, 0.0849290)
call BlzFrameSetAbsPoint(GoldInfoC[2], FRAMEPOINT_BOTTOMRIGHT, 0.323811, 0.0699020)
call BlzFrameSetText(GoldInfoC[2], "|cffFFCC00Gold|r")
call BlzFrameSetEnable(GoldInfoC[2], false)
call BlzFrameSetScale(GoldInfoC[2], 0.715)
call BlzFrameSetTextAlignment(GoldInfoC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set LumberInfoCopyC[2] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[2], "", 0)
call BlzFrameSetAbsPoint(LumberInfoCopyC[2], FRAMEPOINT_TOPLEFT, 0.343670, 0.0849290)
call BlzFrameSetAbsPoint(LumberInfoCopyC[2], FRAMEPOINT_BOTTOMRIGHT, 0.373191, 0.0699020)
call BlzFrameSetText(LumberInfoCopyC[2], "|cff9c8163Lumber|r")
call BlzFrameSetEnable(LumberInfoCopyC[2], false)
call BlzFrameSetScale(LumberInfoCopyC[2], 0.715)
call BlzFrameSetTextAlignment(LumberInfoCopyC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set PowerInfoC[2] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[2], "", 0)
call BlzFrameSetAbsPoint(PowerInfoC[2], FRAMEPOINT_TOPLEFT, 0.393580, 0.0849290)
call BlzFrameSetAbsPoint(PowerInfoC[2], FRAMEPOINT_BOTTOMRIGHT, 0.423101, 0.0699020)
call BlzFrameSetText(PowerInfoC[2], "|cff0fefffPower|r")
call BlzFrameSetEnable(PowerInfoC[2], false)
call BlzFrameSetScale(PowerInfoC[2], 0.572)
call BlzFrameSetTextAlignment(PowerInfoC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set Tab1C[2] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[2], 0, 0)
 call BlzFrameSetAbsPoint(Tab1C[2], FRAMEPOINT_TOPLEFT, 0.178350, 0.116584)
 call BlzFrameSetAbsPoint(Tab1C[2], FRAMEPOINT_BOTTOMRIGHT, 0.194989, 0.0999470)
 set BackdropTab1C[2] = BlzCreateFrameByType("BACKDROP", "BackdropTab1C[2]", Tab1C[2], "", 1)
 call BlzFrameSetAllPoints(BackdropTab1C[2], Tab1C[2])
 call BlzFrameSetTexture(BackdropTab1C[2], "BiologyB.blp", 0, true)
set TriggerTab1C[2] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab1C[2], Tab1C[2], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab1C[2], function Tab1C02Func)

set Tab2C[2] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[2], 0, 0)
 call BlzFrameSetAbsPoint(Tab2C[2], FRAMEPOINT_TOPLEFT, 0.199280, 0.116047)
 call BlzFrameSetAbsPoint(Tab2C[2], FRAMEPOINT_BOTTOMRIGHT, 0.215919, 0.0994100)
 set BackdropTab2C[2] = BlzCreateFrameByType("BACKDROP", "BackdropTab2C[2]", Tab2C[2], "", 1)
 call BlzFrameSetAllPoints(BackdropTab2C[2], Tab2C[2])
 call BlzFrameSetTexture(BackdropTab2C[2], "MechanicB.blp", 0, true)
set TriggerTab2C[2] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab2C[2], Tab2C[2], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab2C[2], function Tab2C02Func)

set Tab3C[2] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[2], 0, 0)
 call BlzFrameSetAbsPoint(Tab3C[2], FRAMEPOINT_TOPLEFT, 0.220750, 0.116584)
 call BlzFrameSetAbsPoint(Tab3C[2], FRAMEPOINT_BOTTOMRIGHT, 0.237389, 0.0999470)
 set BackdropTab3C[2] = BlzCreateFrameByType("BACKDROP", "BackdropTab3C[2]", Tab3C[2], "", 1)
 call BlzFrameSetAllPoints(BackdropTab3C[2], Tab3C[2])
 call BlzFrameSetTexture(BackdropTab3C[2], "PoacherB.blp", 0, true)
set TriggerTab3C[2] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab3C[2], Tab3C[2], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab3C[2], function Tab3C02Func)

set Tab4C[2] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[2], 0, 0)
 call BlzFrameSetAbsPoint(Tab4C[2], FRAMEPOINT_TOPLEFT, 0.241690, 0.116584)
 call BlzFrameSetAbsPoint(Tab4C[2], FRAMEPOINT_BOTTOMRIGHT, 0.258329, 0.0999470)
 set BackdropTab4C[2] = BlzCreateFrameByType("BACKDROP", "BackdropTab4C[2]", Tab4C[2], "", 1)
 call BlzFrameSetAllPoints(BackdropTab4C[2], Tab4C[2])
 call BlzFrameSetTexture(BackdropTab4C[2], "PhysicsB.blp", 0, true)
set TriggerTab4C[2] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab4C[2], Tab4C[2], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab4C[2], function Tab4C02Func)

set Tab5C[2] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[2], 0, 0)
 call BlzFrameSetAbsPoint(Tab5C[2], FRAMEPOINT_TOPLEFT, 0.262080, 0.117117)
 call BlzFrameSetAbsPoint(Tab5C[2], FRAMEPOINT_BOTTOMRIGHT, 0.278719, 0.100480)
 set BackdropTab5C[2] = BlzCreateFrameByType("BACKDROP", "BackdropTab5C[2]", Tab5C[2], "", 1)
 call BlzFrameSetAllPoints(BackdropTab5C[2], Tab5C[2])
 call BlzFrameSetTexture(BackdropTab5C[2], "UndeadB.blp", 0, true)
set TriggerTab5C[2] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab5C[2], Tab5C[2], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab5C[2], function Tab5C02Func)

set Tab6C[2] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[2], 0, 0)
 call BlzFrameSetAbsPoint(Tab6C[2], FRAMEPOINT_TOPLEFT, 0.283550, 0.116584)
 call BlzFrameSetAbsPoint(Tab6C[2], FRAMEPOINT_BOTTOMRIGHT, 0.300189, 0.0999470)
 set BackdropTab6C[2] = BlzCreateFrameByType("BACKDROP", "BackdropTab6C[2]", Tab6C[2], "", 1)
 call BlzFrameSetAllPoints(BackdropTab6C[2], Tab6C[2])
 call BlzFrameSetTexture(BackdropTab6C[2], "AdaptiveB.blp", 0, true)
set TriggerTab6C[2] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab6C[2], Tab6C[2], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab6C[2], function Tab6C02Func)

set Tab7C[2] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[2], 0, 0)
 call BlzFrameSetAbsPoint(Tab7C[2], FRAMEPOINT_TOPLEFT, 0.433300, 0.116584)
 call BlzFrameSetAbsPoint(Tab7C[2], FRAMEPOINT_BOTTOMRIGHT, 0.449939, 0.0999470)
 set BackdropTab7C[2] = BlzCreateFrameByType("BACKDROP", "BackdropTab7C[2]", Tab7C[2], "", 1)
 call BlzFrameSetAllPoints(BackdropTab7C[2], Tab7C[2])
 call BlzFrameSetTexture(BackdropTab7C[2], "CamB.blp", 0, true)
set TriggerTab7C[2] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab7C[2], Tab7C[2], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab7C[2], function Tab7C02Func)

set Tab8C[2] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[2], 0, 0)
 call BlzFrameSetAbsPoint(Tab8C[2], FRAMEPOINT_TOPLEFT, 0.453700, 0.116584)
 call BlzFrameSetAbsPoint(Tab8C[2], FRAMEPOINT_BOTTOMRIGHT, 0.470339, 0.0999470)
 set BackdropTab8C[2] = BlzCreateFrameByType("BACKDROP", "BackdropTab8C[2]", Tab8C[2], "", 1)
 call BlzFrameSetAllPoints(BackdropTab8C[2], Tab8C[2])
 call BlzFrameSetTexture(BackdropTab8C[2], "CraftB.blp", 0, true)
set TriggerTab8C[2] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab8C[2], Tab8C[2], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab8C[2], function Tab8C02Func)

set Tab9C[2] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[2], 0, 0)
 call BlzFrameSetAbsPoint(Tab9C[2], FRAMEPOINT_TOPLEFT, 0.475170, 0.116047)
 call BlzFrameSetAbsPoint(Tab9C[2], FRAMEPOINT_BOTTOMRIGHT, 0.491809, 0.0994100)
 set BackdropTab9C[2] = BlzCreateFrameByType("BACKDROP", "BackdropTab9C[2]", Tab9C[2], "", 1)
 call BlzFrameSetAllPoints(BackdropTab9C[2], Tab9C[2])
 call BlzFrameSetTexture(BackdropTab9C[2], "BaPB.blp", 0, true)
set TriggerTab9C[2] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab9C[2], Tab9C[2], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab9C[2], function Tab9C02Func)

set Tab12C[2] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[2], 0, 0)
 call BlzFrameSetAbsPoint(Tab12C[2], FRAMEPOINT_TOPLEFT, 0.539040, 0.116584)
 call BlzFrameSetAbsPoint(Tab12C[2], FRAMEPOINT_BOTTOMRIGHT, 0.555679, 0.0999470)
 set BackdropTab12C[2] = BlzCreateFrameByType("BACKDROP", "BackdropTab12C[2]", Tab12C[2], "", 1)
 call BlzFrameSetAllPoints(BackdropTab12C[2], Tab12C[2])
 call BlzFrameSetTexture(BackdropTab12C[2], "LPB.blp", 0, true)
set TriggerTab12C[2] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab12C[2], Tab12C[2], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab12C[2], function Tab12C02Func)

set Tab10C[2] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[2], 0, 0)
 call BlzFrameSetAbsPoint(Tab10C[2], FRAMEPOINT_TOPLEFT, 0.496640, 0.116584)
 call BlzFrameSetAbsPoint(Tab10C[2], FRAMEPOINT_BOTTOMRIGHT, 0.513279, 0.0999470)
 set BackdropTab10C[2] = BlzCreateFrameByType("BACKDROP", "BackdropTab10C[2]", Tab10C[2], "", 1)
 call BlzFrameSetAllPoints(BackdropTab10C[2], Tab10C[2])
 call BlzFrameSetTexture(BackdropTab10C[2], "CustomFrame.png", 0, true)
set TriggerTab10C[2] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab10C[2], Tab10C[2], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab10C[2], function Tab10C02Func)

set Tab11C[2] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[2], 0, 0)
 call BlzFrameSetAbsPoint(Tab11C[2], FRAMEPOINT_TOPLEFT, 0.517570, 0.116584)
 call BlzFrameSetAbsPoint(Tab11C[2], FRAMEPOINT_BOTTOMRIGHT, 0.534209, 0.0999470)
 set BackdropTab11C[2] = BlzCreateFrameByType("BACKDROP", "BackdropTab11C[2]", Tab11C[2], "", 1)
 call BlzFrameSetAllPoints(BackdropTab11C[2], Tab11C[2])
 call BlzFrameSetTexture(BackdropTab11C[2], "CustomFrame.png", 0, true)
set TriggerTab11C[2] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab11C[2], Tab11C[2], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab11C[2], function Tab11C02Func)

set PlayerMPC[3] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[3], "", 0)
call BlzFrameSetAbsPoint(PlayerMPC[3], FRAMEPOINT_TOPLEFT, 0.177810, 0.0763670)
call BlzFrameSetAbsPoint(PlayerMPC[3], FRAMEPOINT_BOTTOMRIGHT, 0.288920, 0.0608030)
call BlzFrameSetText(PlayerMPC[3], "|cff3700ffPlayer MP\n|r")
call BlzFrameSetEnable(PlayerMPC[3], false)
call BlzFrameSetScale(PlayerMPC[3], 1.00)
call BlzFrameSetTextAlignment(PlayerMPC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set PlayerHPC[3] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[3], "", 0)
call BlzFrameSetAbsPoint(PlayerHPC[3], FRAMEPOINT_TOPLEFT, 0.177810, 0.0940780)
call BlzFrameSetAbsPoint(PlayerHPC[3], FRAMEPOINT_BOTTOMRIGHT, 0.288380, 0.0785140)
call BlzFrameSetText(PlayerHPC[3], "|cffff0019Player HP|r")
call BlzFrameSetEnable(PlayerHPC[3], false)
call BlzFrameSetScale(PlayerHPC[3], 1.00)
call BlzFrameSetTextAlignment(PlayerHPC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set TargetHPC[3] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[3], "", 0)
call BlzFrameSetAbsPoint(TargetHPC[3], FRAMEPOINT_TOPLEFT, 0.444040, 0.0940780)
call BlzFrameSetAbsPoint(TargetHPC[3], FRAMEPOINT_BOTTOMRIGHT, 0.554610, 0.0785140)
call BlzFrameSetText(TargetHPC[3], "|cffff00ddTarget HP|r")
call BlzFrameSetEnable(TargetHPC[3], false)
call BlzFrameSetScale(TargetHPC[3], 1.00)
call BlzFrameSetTextAlignment(TargetHPC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set TargetMPC[3] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[3], "", 0)
call BlzFrameSetAbsPoint(TargetMPC[3], FRAMEPOINT_TOPLEFT, 0.444040, 0.0769030)
call BlzFrameSetAbsPoint(TargetMPC[3], FRAMEPOINT_BOTTOMRIGHT, 0.555150, 0.0608030)
call BlzFrameSetText(TargetMPC[3], "|cff00bfffTarget MP|r")
call BlzFrameSetEnable(TargetMPC[3], false)
call BlzFrameSetScale(TargetMPC[3], 1.00)
call BlzFrameSetTextAlignment(TargetMPC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set GoldInfoC[3] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[3], "", 0)
call BlzFrameSetAbsPoint(GoldInfoC[3], FRAMEPOINT_TOPLEFT, 0.294290, 0.0849290)
call BlzFrameSetAbsPoint(GoldInfoC[3], FRAMEPOINT_BOTTOMRIGHT, 0.323811, 0.0699020)
call BlzFrameSetText(GoldInfoC[3], "|cffFFCC00Gold|r")
call BlzFrameSetEnable(GoldInfoC[3], false)
call BlzFrameSetScale(GoldInfoC[3], 0.715)
call BlzFrameSetTextAlignment(GoldInfoC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set LumberInfoCopyC[3] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[3], "", 0)
call BlzFrameSetAbsPoint(LumberInfoCopyC[3], FRAMEPOINT_TOPLEFT, 0.343670, 0.0849290)
call BlzFrameSetAbsPoint(LumberInfoCopyC[3], FRAMEPOINT_BOTTOMRIGHT, 0.373191, 0.0699020)
call BlzFrameSetText(LumberInfoCopyC[3], "|cff9c8163Lumber|r")
call BlzFrameSetEnable(LumberInfoCopyC[3], false)
call BlzFrameSetScale(LumberInfoCopyC[3], 0.715)
call BlzFrameSetTextAlignment(LumberInfoCopyC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set PowerInfoC[3] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[3], "", 0)
call BlzFrameSetAbsPoint(PowerInfoC[3], FRAMEPOINT_TOPLEFT, 0.393580, 0.0849290)
call BlzFrameSetAbsPoint(PowerInfoC[3], FRAMEPOINT_BOTTOMRIGHT, 0.423101, 0.0699020)
call BlzFrameSetText(PowerInfoC[3], "|cff0fefffPower|r")
call BlzFrameSetEnable(PowerInfoC[3], false)
call BlzFrameSetScale(PowerInfoC[3], 0.572)
call BlzFrameSetTextAlignment(PowerInfoC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set Tab1C[3] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[3], 0, 0)
 call BlzFrameSetAbsPoint(Tab1C[3], FRAMEPOINT_TOPLEFT, 0.178350, 0.116584)
 call BlzFrameSetAbsPoint(Tab1C[3], FRAMEPOINT_BOTTOMRIGHT, 0.194989, 0.0999470)
 set BackdropTab1C[3] = BlzCreateFrameByType("BACKDROP", "BackdropTab1C[3]", Tab1C[3], "", 1)
 call BlzFrameSetAllPoints(BackdropTab1C[3], Tab1C[3])
 call BlzFrameSetTexture(BackdropTab1C[3], "BiologyB.blp", 0, true)
set TriggerTab1C[3] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab1C[3], Tab1C[3], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab1C[3], function Tab1C03Func)

set Tab2C[3] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[3], 0, 0)
 call BlzFrameSetAbsPoint(Tab2C[3], FRAMEPOINT_TOPLEFT, 0.199280, 0.116047)
 call BlzFrameSetAbsPoint(Tab2C[3], FRAMEPOINT_BOTTOMRIGHT, 0.215919, 0.0994100)
 set BackdropTab2C[3] = BlzCreateFrameByType("BACKDROP", "BackdropTab2C[3]", Tab2C[3], "", 1)
 call BlzFrameSetAllPoints(BackdropTab2C[3], Tab2C[3])
 call BlzFrameSetTexture(BackdropTab2C[3], "MechanicB.blp", 0, true)
set TriggerTab2C[3] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab2C[3], Tab2C[3], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab2C[3], function Tab2C03Func)

set Tab3C[3] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[3], 0, 0)
 call BlzFrameSetAbsPoint(Tab3C[3], FRAMEPOINT_TOPLEFT, 0.220750, 0.116584)
 call BlzFrameSetAbsPoint(Tab3C[3], FRAMEPOINT_BOTTOMRIGHT, 0.237389, 0.0999470)
 set BackdropTab3C[3] = BlzCreateFrameByType("BACKDROP", "BackdropTab3C[3]", Tab3C[3], "", 1)
 call BlzFrameSetAllPoints(BackdropTab3C[3], Tab3C[3])
 call BlzFrameSetTexture(BackdropTab3C[3], "PoacherB.blp", 0, true)
set TriggerTab3C[3] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab3C[3], Tab3C[3], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab3C[3], function Tab3C03Func)

set Tab4C[3] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[3], 0, 0)
 call BlzFrameSetAbsPoint(Tab4C[3], FRAMEPOINT_TOPLEFT, 0.241690, 0.116584)
 call BlzFrameSetAbsPoint(Tab4C[3], FRAMEPOINT_BOTTOMRIGHT, 0.258329, 0.0999470)
 set BackdropTab4C[3] = BlzCreateFrameByType("BACKDROP", "BackdropTab4C[3]", Tab4C[3], "", 1)
 call BlzFrameSetAllPoints(BackdropTab4C[3], Tab4C[3])
 call BlzFrameSetTexture(BackdropTab4C[3], "PhysicsB.blp", 0, true)
set TriggerTab4C[3] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab4C[3], Tab4C[3], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab4C[3], function Tab4C03Func)

set Tab5C[3] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[3], 0, 0)
 call BlzFrameSetAbsPoint(Tab5C[3], FRAMEPOINT_TOPLEFT, 0.262080, 0.117117)
 call BlzFrameSetAbsPoint(Tab5C[3], FRAMEPOINT_BOTTOMRIGHT, 0.278719, 0.100480)
 set BackdropTab5C[3] = BlzCreateFrameByType("BACKDROP", "BackdropTab5C[3]", Tab5C[3], "", 1)
 call BlzFrameSetAllPoints(BackdropTab5C[3], Tab5C[3])
 call BlzFrameSetTexture(BackdropTab5C[3], "UndeadB.blp", 0, true)
set TriggerTab5C[3] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab5C[3], Tab5C[3], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab5C[3], function Tab5C03Func)

set Tab6C[3] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[3], 0, 0)
 call BlzFrameSetAbsPoint(Tab6C[3], FRAMEPOINT_TOPLEFT, 0.283550, 0.116584)
 call BlzFrameSetAbsPoint(Tab6C[3], FRAMEPOINT_BOTTOMRIGHT, 0.300189, 0.0999470)
 set BackdropTab6C[3] = BlzCreateFrameByType("BACKDROP", "BackdropTab6C[3]", Tab6C[3], "", 1)
 call BlzFrameSetAllPoints(BackdropTab6C[3], Tab6C[3])
 call BlzFrameSetTexture(BackdropTab6C[3], "AdaptiveB.blp", 0, true)
set TriggerTab6C[3] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab6C[3], Tab6C[3], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab6C[3], function Tab6C03Func)

set Tab7C[3] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[3], 0, 0)
 call BlzFrameSetAbsPoint(Tab7C[3], FRAMEPOINT_TOPLEFT, 0.433300, 0.116584)
 call BlzFrameSetAbsPoint(Tab7C[3], FRAMEPOINT_BOTTOMRIGHT, 0.449939, 0.0999470)
 set BackdropTab7C[3] = BlzCreateFrameByType("BACKDROP", "BackdropTab7C[3]", Tab7C[3], "", 1)
 call BlzFrameSetAllPoints(BackdropTab7C[3], Tab7C[3])
 call BlzFrameSetTexture(BackdropTab7C[3], "CamB.blp", 0, true)
set TriggerTab7C[3] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab7C[3], Tab7C[3], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab7C[3], function Tab7C03Func)

set Tab8C[3] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[3], 0, 0)
 call BlzFrameSetAbsPoint(Tab8C[3], FRAMEPOINT_TOPLEFT, 0.453700, 0.116584)
 call BlzFrameSetAbsPoint(Tab8C[3], FRAMEPOINT_BOTTOMRIGHT, 0.470339, 0.0999470)
 set BackdropTab8C[3] = BlzCreateFrameByType("BACKDROP", "BackdropTab8C[3]", Tab8C[3], "", 1)
 call BlzFrameSetAllPoints(BackdropTab8C[3], Tab8C[3])
 call BlzFrameSetTexture(BackdropTab8C[3], "CraftB.blp", 0, true)
set TriggerTab8C[3] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab8C[3], Tab8C[3], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab8C[3], function Tab8C03Func)

set Tab9C[3] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[3], 0, 0)
 call BlzFrameSetAbsPoint(Tab9C[3], FRAMEPOINT_TOPLEFT, 0.475170, 0.116047)
 call BlzFrameSetAbsPoint(Tab9C[3], FRAMEPOINT_BOTTOMRIGHT, 0.491809, 0.0994100)
 set BackdropTab9C[3] = BlzCreateFrameByType("BACKDROP", "BackdropTab9C[3]", Tab9C[3], "", 1)
 call BlzFrameSetAllPoints(BackdropTab9C[3], Tab9C[3])
 call BlzFrameSetTexture(BackdropTab9C[3], "BaPB.blp", 0, true)
set TriggerTab9C[3] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab9C[3], Tab9C[3], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab9C[3], function Tab9C03Func)

set Tab12C[3] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[3], 0, 0)
 call BlzFrameSetAbsPoint(Tab12C[3], FRAMEPOINT_TOPLEFT, 0.539040, 0.116584)
 call BlzFrameSetAbsPoint(Tab12C[3], FRAMEPOINT_BOTTOMRIGHT, 0.555679, 0.0999470)
 set BackdropTab12C[3] = BlzCreateFrameByType("BACKDROP", "BackdropTab12C[3]", Tab12C[3], "", 1)
 call BlzFrameSetAllPoints(BackdropTab12C[3], Tab12C[3])
 call BlzFrameSetTexture(BackdropTab12C[3], "LPB.blp", 0, true)
set TriggerTab12C[3] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab12C[3], Tab12C[3], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab12C[3], function Tab12C03Func)

set Tab10C[3] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[3], 0, 0)
 call BlzFrameSetAbsPoint(Tab10C[3], FRAMEPOINT_TOPLEFT, 0.496640, 0.116584)
 call BlzFrameSetAbsPoint(Tab10C[3], FRAMEPOINT_BOTTOMRIGHT, 0.513279, 0.0999470)
 set BackdropTab10C[3] = BlzCreateFrameByType("BACKDROP", "BackdropTab10C[3]", Tab10C[3], "", 1)
 call BlzFrameSetAllPoints(BackdropTab10C[3], Tab10C[3])
 call BlzFrameSetTexture(BackdropTab10C[3], "CustomFrame.png", 0, true)
set TriggerTab10C[3] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab10C[3], Tab10C[3], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab10C[3], function Tab10C03Func)

set Tab11C[3] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[3], 0, 0)
 call BlzFrameSetAbsPoint(Tab11C[3], FRAMEPOINT_TOPLEFT, 0.517570, 0.116584)
 call BlzFrameSetAbsPoint(Tab11C[3], FRAMEPOINT_BOTTOMRIGHT, 0.534209, 0.0999470)
 set BackdropTab11C[3] = BlzCreateFrameByType("BACKDROP", "BackdropTab11C[3]", Tab11C[3], "", 1)
 call BlzFrameSetAllPoints(BackdropTab11C[3], Tab11C[3])
 call BlzFrameSetTexture(BackdropTab11C[3], "CustomFrame.png", 0, true)
set TriggerTab11C[3] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab11C[3], Tab11C[3], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab11C[3], function Tab11C03Func)

set PlayerMPC[4] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[4], "", 0)
call BlzFrameSetAbsPoint(PlayerMPC[4], FRAMEPOINT_TOPLEFT, 0.177810, 0.0763670)
call BlzFrameSetAbsPoint(PlayerMPC[4], FRAMEPOINT_BOTTOMRIGHT, 0.288920, 0.0608030)
call BlzFrameSetText(PlayerMPC[4], "|cff3700ffPlayer MP\n|r")
call BlzFrameSetEnable(PlayerMPC[4], false)
call BlzFrameSetScale(PlayerMPC[4], 1.00)
call BlzFrameSetTextAlignment(PlayerMPC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set PlayerHPC[4] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[4], "", 0)
call BlzFrameSetAbsPoint(PlayerHPC[4], FRAMEPOINT_TOPLEFT, 0.177810, 0.0940780)
call BlzFrameSetAbsPoint(PlayerHPC[4], FRAMEPOINT_BOTTOMRIGHT, 0.288380, 0.0785140)
call BlzFrameSetText(PlayerHPC[4], "|cffff0019Player HP|r")
call BlzFrameSetEnable(PlayerHPC[4], false)
call BlzFrameSetScale(PlayerHPC[4], 1.00)
call BlzFrameSetTextAlignment(PlayerHPC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set TargetHPC[4] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[4], "", 0)
call BlzFrameSetAbsPoint(TargetHPC[4], FRAMEPOINT_TOPLEFT, 0.444040, 0.0940780)
call BlzFrameSetAbsPoint(TargetHPC[4], FRAMEPOINT_BOTTOMRIGHT, 0.554610, 0.0785140)
call BlzFrameSetText(TargetHPC[4], "|cffff00ddTarget HP|r")
call BlzFrameSetEnable(TargetHPC[4], false)
call BlzFrameSetScale(TargetHPC[4], 1.00)
call BlzFrameSetTextAlignment(TargetHPC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set TargetMPC[4] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[4], "", 0)
call BlzFrameSetAbsPoint(TargetMPC[4], FRAMEPOINT_TOPLEFT, 0.444040, 0.0769030)
call BlzFrameSetAbsPoint(TargetMPC[4], FRAMEPOINT_BOTTOMRIGHT, 0.555150, 0.0608030)
call BlzFrameSetText(TargetMPC[4], "|cff00bfffTarget MP|r")
call BlzFrameSetEnable(TargetMPC[4], false)
call BlzFrameSetScale(TargetMPC[4], 1.00)
call BlzFrameSetTextAlignment(TargetMPC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set GoldInfoC[4] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[4], "", 0)
call BlzFrameSetAbsPoint(GoldInfoC[4], FRAMEPOINT_TOPLEFT, 0.294290, 0.0849290)
call BlzFrameSetAbsPoint(GoldInfoC[4], FRAMEPOINT_BOTTOMRIGHT, 0.323811, 0.0699020)
call BlzFrameSetText(GoldInfoC[4], "|cffFFCC00Gold|r")
call BlzFrameSetEnable(GoldInfoC[4], false)
call BlzFrameSetScale(GoldInfoC[4], 0.715)
call BlzFrameSetTextAlignment(GoldInfoC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set LumberInfoCopyC[4] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[4], "", 0)
call BlzFrameSetAbsPoint(LumberInfoCopyC[4], FRAMEPOINT_TOPLEFT, 0.343670, 0.0849290)
call BlzFrameSetAbsPoint(LumberInfoCopyC[4], FRAMEPOINT_BOTTOMRIGHT, 0.373191, 0.0699020)
call BlzFrameSetText(LumberInfoCopyC[4], "|cff9c8163Lumber|r")
call BlzFrameSetEnable(LumberInfoCopyC[4], false)
call BlzFrameSetScale(LumberInfoCopyC[4], 0.715)
call BlzFrameSetTextAlignment(LumberInfoCopyC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set PowerInfoC[4] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[4], "", 0)
call BlzFrameSetAbsPoint(PowerInfoC[4], FRAMEPOINT_TOPLEFT, 0.393580, 0.0849290)
call BlzFrameSetAbsPoint(PowerInfoC[4], FRAMEPOINT_BOTTOMRIGHT, 0.423101, 0.0699020)
call BlzFrameSetText(PowerInfoC[4], "|cff0fefffPower|r")
call BlzFrameSetEnable(PowerInfoC[4], false)
call BlzFrameSetScale(PowerInfoC[4], 0.572)
call BlzFrameSetTextAlignment(PowerInfoC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set Tab1C[4] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[4], 0, 0)
 call BlzFrameSetAbsPoint(Tab1C[4], FRAMEPOINT_TOPLEFT, 0.178350, 0.116584)
 call BlzFrameSetAbsPoint(Tab1C[4], FRAMEPOINT_BOTTOMRIGHT, 0.194989, 0.0999470)
 set BackdropTab1C[4] = BlzCreateFrameByType("BACKDROP", "BackdropTab1C[4]", Tab1C[4], "", 1)
 call BlzFrameSetAllPoints(BackdropTab1C[4], Tab1C[4])
 call BlzFrameSetTexture(BackdropTab1C[4], "BiologyB.blp", 0, true)
set TriggerTab1C[4] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab1C[4], Tab1C[4], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab1C[4], function Tab1C04Func)

set Tab2C[4] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[4], 0, 0)
 call BlzFrameSetAbsPoint(Tab2C[4], FRAMEPOINT_TOPLEFT, 0.199280, 0.116047)
 call BlzFrameSetAbsPoint(Tab2C[4], FRAMEPOINT_BOTTOMRIGHT, 0.215919, 0.0994100)
 set BackdropTab2C[4] = BlzCreateFrameByType("BACKDROP", "BackdropTab2C[4]", Tab2C[4], "", 1)
 call BlzFrameSetAllPoints(BackdropTab2C[4], Tab2C[4])
 call BlzFrameSetTexture(BackdropTab2C[4], "MechanicB.blp", 0, true)
set TriggerTab2C[4] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab2C[4], Tab2C[4], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab2C[4], function Tab2C04Func)

set Tab3C[4] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[4], 0, 0)
 call BlzFrameSetAbsPoint(Tab3C[4], FRAMEPOINT_TOPLEFT, 0.220750, 0.116584)
 call BlzFrameSetAbsPoint(Tab3C[4], FRAMEPOINT_BOTTOMRIGHT, 0.237389, 0.0999470)
 set BackdropTab3C[4] = BlzCreateFrameByType("BACKDROP", "BackdropTab3C[4]", Tab3C[4], "", 1)
 call BlzFrameSetAllPoints(BackdropTab3C[4], Tab3C[4])
 call BlzFrameSetTexture(BackdropTab3C[4], "PoacherB.blp", 0, true)
set TriggerTab3C[4] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab3C[4], Tab3C[4], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab3C[4], function Tab3C04Func)

set Tab4C[4] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[4], 0, 0)
 call BlzFrameSetAbsPoint(Tab4C[4], FRAMEPOINT_TOPLEFT, 0.241690, 0.116584)
 call BlzFrameSetAbsPoint(Tab4C[4], FRAMEPOINT_BOTTOMRIGHT, 0.258329, 0.0999470)
 set BackdropTab4C[4] = BlzCreateFrameByType("BACKDROP", "BackdropTab4C[4]", Tab4C[4], "", 1)
 call BlzFrameSetAllPoints(BackdropTab4C[4], Tab4C[4])
 call BlzFrameSetTexture(BackdropTab4C[4], "PhysicsB.blp", 0, true)
set TriggerTab4C[4] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab4C[4], Tab4C[4], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab4C[4], function Tab4C04Func)

set Tab5C[4] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[4], 0, 0)
 call BlzFrameSetAbsPoint(Tab5C[4], FRAMEPOINT_TOPLEFT, 0.262080, 0.117117)
 call BlzFrameSetAbsPoint(Tab5C[4], FRAMEPOINT_BOTTOMRIGHT, 0.278719, 0.100480)
 set BackdropTab5C[4] = BlzCreateFrameByType("BACKDROP", "BackdropTab5C[4]", Tab5C[4], "", 1)
 call BlzFrameSetAllPoints(BackdropTab5C[4], Tab5C[4])
 call BlzFrameSetTexture(BackdropTab5C[4], "UndeadB.blp", 0, true)
set TriggerTab5C[4] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab5C[4], Tab5C[4], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab5C[4], function Tab5C04Func)

set Tab6C[4] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[4], 0, 0)
 call BlzFrameSetAbsPoint(Tab6C[4], FRAMEPOINT_TOPLEFT, 0.283550, 0.116584)
 call BlzFrameSetAbsPoint(Tab6C[4], FRAMEPOINT_BOTTOMRIGHT, 0.300189, 0.0999470)
 set BackdropTab6C[4] = BlzCreateFrameByType("BACKDROP", "BackdropTab6C[4]", Tab6C[4], "", 1)
 call BlzFrameSetAllPoints(BackdropTab6C[4], Tab6C[4])
 call BlzFrameSetTexture(BackdropTab6C[4], "AdaptiveB.blp", 0, true)
set TriggerTab6C[4] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab6C[4], Tab6C[4], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab6C[4], function Tab6C04Func)

set Tab7C[4] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[4], 0, 0)
 call BlzFrameSetAbsPoint(Tab7C[4], FRAMEPOINT_TOPLEFT, 0.433300, 0.116584)
 call BlzFrameSetAbsPoint(Tab7C[4], FRAMEPOINT_BOTTOMRIGHT, 0.449939, 0.0999470)
 set BackdropTab7C[4] = BlzCreateFrameByType("BACKDROP", "BackdropTab7C[4]", Tab7C[4], "", 1)
 call BlzFrameSetAllPoints(BackdropTab7C[4], Tab7C[4])
 call BlzFrameSetTexture(BackdropTab7C[4], "CamB.blp", 0, true)
set TriggerTab7C[4] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab7C[4], Tab7C[4], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab7C[4], function Tab7C04Func)

set Tab8C[4] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[4], 0, 0)
 call BlzFrameSetAbsPoint(Tab8C[4], FRAMEPOINT_TOPLEFT, 0.453700, 0.116584)
 call BlzFrameSetAbsPoint(Tab8C[4], FRAMEPOINT_BOTTOMRIGHT, 0.470339, 0.0999470)
 set BackdropTab8C[4] = BlzCreateFrameByType("BACKDROP", "BackdropTab8C[4]", Tab8C[4], "", 1)
 call BlzFrameSetAllPoints(BackdropTab8C[4], Tab8C[4])
 call BlzFrameSetTexture(BackdropTab8C[4], "CraftB.blp", 0, true)
set TriggerTab8C[4] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab8C[4], Tab8C[4], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab8C[4], function Tab8C04Func)

set Tab9C[4] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[4], 0, 0)
 call BlzFrameSetAbsPoint(Tab9C[4], FRAMEPOINT_TOPLEFT, 0.475170, 0.116047)
 call BlzFrameSetAbsPoint(Tab9C[4], FRAMEPOINT_BOTTOMRIGHT, 0.491809, 0.0994100)
 set BackdropTab9C[4] = BlzCreateFrameByType("BACKDROP", "BackdropTab9C[4]", Tab9C[4], "", 1)
 call BlzFrameSetAllPoints(BackdropTab9C[4], Tab9C[4])
 call BlzFrameSetTexture(BackdropTab9C[4], "BaPB.blp", 0, true)
set TriggerTab9C[4] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab9C[4], Tab9C[4], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab9C[4], function Tab9C04Func)

set Tab12C[4] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[4], 0, 0)
 call BlzFrameSetAbsPoint(Tab12C[4], FRAMEPOINT_TOPLEFT, 0.539040, 0.116584)
 call BlzFrameSetAbsPoint(Tab12C[4], FRAMEPOINT_BOTTOMRIGHT, 0.555679, 0.0999470)
 set BackdropTab12C[4] = BlzCreateFrameByType("BACKDROP", "BackdropTab12C[4]", Tab12C[4], "", 1)
 call BlzFrameSetAllPoints(BackdropTab12C[4], Tab12C[4])
 call BlzFrameSetTexture(BackdropTab12C[4], "LPB.blp", 0, true)
set TriggerTab12C[4] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab12C[4], Tab12C[4], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab12C[4], function Tab12C04Func)

set Tab10C[4] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[4], 0, 0)
 call BlzFrameSetAbsPoint(Tab10C[4], FRAMEPOINT_TOPLEFT, 0.496640, 0.116584)
 call BlzFrameSetAbsPoint(Tab10C[4], FRAMEPOINT_BOTTOMRIGHT, 0.513279, 0.0999470)
 set BackdropTab10C[4] = BlzCreateFrameByType("BACKDROP", "BackdropTab10C[4]", Tab10C[4], "", 1)
 call BlzFrameSetAllPoints(BackdropTab10C[4], Tab10C[4])
 call BlzFrameSetTexture(BackdropTab10C[4], "CustomFrame.png", 0, true)
set TriggerTab10C[4] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab10C[4], Tab10C[4], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab10C[4], function Tab10C04Func)

set Tab11C[4] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[4], 0, 0)
 call BlzFrameSetAbsPoint(Tab11C[4], FRAMEPOINT_TOPLEFT, 0.517570, 0.116584)
 call BlzFrameSetAbsPoint(Tab11C[4], FRAMEPOINT_BOTTOMRIGHT, 0.534209, 0.0999470)
 set BackdropTab11C[4] = BlzCreateFrameByType("BACKDROP", "BackdropTab11C[4]", Tab11C[4], "", 1)
 call BlzFrameSetAllPoints(BackdropTab11C[4], Tab11C[4])
 call BlzFrameSetTexture(BackdropTab11C[4], "CustomFrame.png", 0, true)
set TriggerTab11C[4] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab11C[4], Tab11C[4], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab11C[4], function Tab11C04Func)

set PlayerMPC[5] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[5], "", 0)
call BlzFrameSetAbsPoint(PlayerMPC[5], FRAMEPOINT_TOPLEFT, 0.177810, 0.0763670)
call BlzFrameSetAbsPoint(PlayerMPC[5], FRAMEPOINT_BOTTOMRIGHT, 0.288920, 0.0608030)
call BlzFrameSetText(PlayerMPC[5], "|cff3700ffPlayer MP\n|r")
call BlzFrameSetEnable(PlayerMPC[5], false)
call BlzFrameSetScale(PlayerMPC[5], 1.00)
call BlzFrameSetTextAlignment(PlayerMPC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set PlayerHPC[5] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[5], "", 0)
call BlzFrameSetAbsPoint(PlayerHPC[5], FRAMEPOINT_TOPLEFT, 0.177810, 0.0940780)
call BlzFrameSetAbsPoint(PlayerHPC[5], FRAMEPOINT_BOTTOMRIGHT, 0.288380, 0.0785140)
call BlzFrameSetText(PlayerHPC[5], "|cffff0019Player HP|r")
call BlzFrameSetEnable(PlayerHPC[5], false)
call BlzFrameSetScale(PlayerHPC[5], 1.00)
call BlzFrameSetTextAlignment(PlayerHPC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set TargetHPC[5] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[5], "", 0)
call BlzFrameSetAbsPoint(TargetHPC[5], FRAMEPOINT_TOPLEFT, 0.444040, 0.0940780)
call BlzFrameSetAbsPoint(TargetHPC[5], FRAMEPOINT_BOTTOMRIGHT, 0.554610, 0.0785140)
call BlzFrameSetText(TargetHPC[5], "|cffff00ddTarget HP|r")
call BlzFrameSetEnable(TargetHPC[5], false)
call BlzFrameSetScale(TargetHPC[5], 1.00)
call BlzFrameSetTextAlignment(TargetHPC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set TargetMPC[5] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[5], "", 0)
call BlzFrameSetAbsPoint(TargetMPC[5], FRAMEPOINT_TOPLEFT, 0.444040, 0.0769030)
call BlzFrameSetAbsPoint(TargetMPC[5], FRAMEPOINT_BOTTOMRIGHT, 0.555150, 0.0608030)
call BlzFrameSetText(TargetMPC[5], "|cff00bfffTarget MP|r")
call BlzFrameSetEnable(TargetMPC[5], false)
call BlzFrameSetScale(TargetMPC[5], 1.00)
call BlzFrameSetTextAlignment(TargetMPC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set GoldInfoC[5] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[5], "", 0)
call BlzFrameSetAbsPoint(GoldInfoC[5], FRAMEPOINT_TOPLEFT, 0.294290, 0.0849290)
call BlzFrameSetAbsPoint(GoldInfoC[5], FRAMEPOINT_BOTTOMRIGHT, 0.323811, 0.0699020)
call BlzFrameSetText(GoldInfoC[5], "|cffFFCC00Gold|r")
call BlzFrameSetEnable(GoldInfoC[5], false)
call BlzFrameSetScale(GoldInfoC[5], 0.715)
call BlzFrameSetTextAlignment(GoldInfoC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set LumberInfoCopyC[5] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[5], "", 0)
call BlzFrameSetAbsPoint(LumberInfoCopyC[5], FRAMEPOINT_TOPLEFT, 0.343670, 0.0849290)
call BlzFrameSetAbsPoint(LumberInfoCopyC[5], FRAMEPOINT_BOTTOMRIGHT, 0.373191, 0.0699020)
call BlzFrameSetText(LumberInfoCopyC[5], "|cff9c8163Lumber|r")
call BlzFrameSetEnable(LumberInfoCopyC[5], false)
call BlzFrameSetScale(LumberInfoCopyC[5], 0.715)
call BlzFrameSetTextAlignment(LumberInfoCopyC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set PowerInfoC[5] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[5], "", 0)
call BlzFrameSetAbsPoint(PowerInfoC[5], FRAMEPOINT_TOPLEFT, 0.393580, 0.0849290)
call BlzFrameSetAbsPoint(PowerInfoC[5], FRAMEPOINT_BOTTOMRIGHT, 0.423101, 0.0699020)
call BlzFrameSetText(PowerInfoC[5], "|cff0fefffPower|r")
call BlzFrameSetEnable(PowerInfoC[5], false)
call BlzFrameSetScale(PowerInfoC[5], 0.572)
call BlzFrameSetTextAlignment(PowerInfoC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set Tab1C[5] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[5], 0, 0)
 call BlzFrameSetAbsPoint(Tab1C[5], FRAMEPOINT_TOPLEFT, 0.178350, 0.116584)
 call BlzFrameSetAbsPoint(Tab1C[5], FRAMEPOINT_BOTTOMRIGHT, 0.194989, 0.0999470)
 set BackdropTab1C[5] = BlzCreateFrameByType("BACKDROP", "BackdropTab1C[5]", Tab1C[5], "", 1)
 call BlzFrameSetAllPoints(BackdropTab1C[5], Tab1C[5])
 call BlzFrameSetTexture(BackdropTab1C[5], "BiologyB.blp", 0, true)
set TriggerTab1C[5] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab1C[5], Tab1C[5], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab1C[5], function Tab1C05Func)

set Tab2C[5] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[5], 0, 0)
 call BlzFrameSetAbsPoint(Tab2C[5], FRAMEPOINT_TOPLEFT, 0.199280, 0.116047)
 call BlzFrameSetAbsPoint(Tab2C[5], FRAMEPOINT_BOTTOMRIGHT, 0.215919, 0.0994100)
 set BackdropTab2C[5] = BlzCreateFrameByType("BACKDROP", "BackdropTab2C[5]", Tab2C[5], "", 1)
 call BlzFrameSetAllPoints(BackdropTab2C[5], Tab2C[5])
 call BlzFrameSetTexture(BackdropTab2C[5], "MechanicB.blp", 0, true)
set TriggerTab2C[5] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab2C[5], Tab2C[5], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab2C[5], function Tab2C05Func)

set Tab3C[5] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[5], 0, 0)
 call BlzFrameSetAbsPoint(Tab3C[5], FRAMEPOINT_TOPLEFT, 0.220750, 0.116584)
 call BlzFrameSetAbsPoint(Tab3C[5], FRAMEPOINT_BOTTOMRIGHT, 0.237389, 0.0999470)
 set BackdropTab3C[5] = BlzCreateFrameByType("BACKDROP", "BackdropTab3C[5]", Tab3C[5], "", 1)
 call BlzFrameSetAllPoints(BackdropTab3C[5], Tab3C[5])
 call BlzFrameSetTexture(BackdropTab3C[5], "PoacherB.blp", 0, true)
set TriggerTab3C[5] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab3C[5], Tab3C[5], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab3C[5], function Tab3C05Func)

set Tab4C[5] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[5], 0, 0)
 call BlzFrameSetAbsPoint(Tab4C[5], FRAMEPOINT_TOPLEFT, 0.241690, 0.116584)
 call BlzFrameSetAbsPoint(Tab4C[5], FRAMEPOINT_BOTTOMRIGHT, 0.258329, 0.0999470)
 set BackdropTab4C[5] = BlzCreateFrameByType("BACKDROP", "BackdropTab4C[5]", Tab4C[5], "", 1)
 call BlzFrameSetAllPoints(BackdropTab4C[5], Tab4C[5])
 call BlzFrameSetTexture(BackdropTab4C[5], "PhysicsB.blp", 0, true)
set TriggerTab4C[5] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab4C[5], Tab4C[5], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab4C[5], function Tab4C05Func)

set Tab5C[5] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[5], 0, 0)
 call BlzFrameSetAbsPoint(Tab5C[5], FRAMEPOINT_TOPLEFT, 0.262080, 0.117117)
 call BlzFrameSetAbsPoint(Tab5C[5], FRAMEPOINT_BOTTOMRIGHT, 0.278719, 0.100480)
 set BackdropTab5C[5] = BlzCreateFrameByType("BACKDROP", "BackdropTab5C[5]", Tab5C[5], "", 1)
 call BlzFrameSetAllPoints(BackdropTab5C[5], Tab5C[5])
 call BlzFrameSetTexture(BackdropTab5C[5], "UndeadB.blp", 0, true)
set TriggerTab5C[5] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab5C[5], Tab5C[5], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab5C[5], function Tab5C05Func)

set Tab6C[5] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[5], 0, 0)
 call BlzFrameSetAbsPoint(Tab6C[5], FRAMEPOINT_TOPLEFT, 0.283550, 0.116584)
 call BlzFrameSetAbsPoint(Tab6C[5], FRAMEPOINT_BOTTOMRIGHT, 0.300189, 0.0999470)
 set BackdropTab6C[5] = BlzCreateFrameByType("BACKDROP", "BackdropTab6C[5]", Tab6C[5], "", 1)
 call BlzFrameSetAllPoints(BackdropTab6C[5], Tab6C[5])
 call BlzFrameSetTexture(BackdropTab6C[5], "AdaptiveB.blp", 0, true)
set TriggerTab6C[5] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab6C[5], Tab6C[5], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab6C[5], function Tab6C05Func)

set Tab7C[5] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[5], 0, 0)
 call BlzFrameSetAbsPoint(Tab7C[5], FRAMEPOINT_TOPLEFT, 0.433300, 0.116584)
 call BlzFrameSetAbsPoint(Tab7C[5], FRAMEPOINT_BOTTOMRIGHT, 0.449939, 0.0999470)
 set BackdropTab7C[5] = BlzCreateFrameByType("BACKDROP", "BackdropTab7C[5]", Tab7C[5], "", 1)
 call BlzFrameSetAllPoints(BackdropTab7C[5], Tab7C[5])
 call BlzFrameSetTexture(BackdropTab7C[5], "CamB.blp", 0, true)
set TriggerTab7C[5] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab7C[5], Tab7C[5], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab7C[5], function Tab7C05Func)

set Tab8C[5] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[5], 0, 0)
 call BlzFrameSetAbsPoint(Tab8C[5], FRAMEPOINT_TOPLEFT, 0.453700, 0.116584)
 call BlzFrameSetAbsPoint(Tab8C[5], FRAMEPOINT_BOTTOMRIGHT, 0.470339, 0.0999470)
 set BackdropTab8C[5] = BlzCreateFrameByType("BACKDROP", "BackdropTab8C[5]", Tab8C[5], "", 1)
 call BlzFrameSetAllPoints(BackdropTab8C[5], Tab8C[5])
 call BlzFrameSetTexture(BackdropTab8C[5], "CraftB.blp", 0, true)
set TriggerTab8C[5] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab8C[5], Tab8C[5], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab8C[5], function Tab8C05Func)

set Tab9C[5] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[5], 0, 0)
 call BlzFrameSetAbsPoint(Tab9C[5], FRAMEPOINT_TOPLEFT, 0.475170, 0.116047)
 call BlzFrameSetAbsPoint(Tab9C[5], FRAMEPOINT_BOTTOMRIGHT, 0.491809, 0.0994100)
 set BackdropTab9C[5] = BlzCreateFrameByType("BACKDROP", "BackdropTab9C[5]", Tab9C[5], "", 1)
 call BlzFrameSetAllPoints(BackdropTab9C[5], Tab9C[5])
 call BlzFrameSetTexture(BackdropTab9C[5], "BaPB.blp", 0, true)
set TriggerTab9C[5] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab9C[5], Tab9C[5], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab9C[5], function Tab9C05Func)

set Tab12C[5] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[5], 0, 0)
 call BlzFrameSetAbsPoint(Tab12C[5], FRAMEPOINT_TOPLEFT, 0.539040, 0.116584)
 call BlzFrameSetAbsPoint(Tab12C[5], FRAMEPOINT_BOTTOMRIGHT, 0.555679, 0.0999470)
 set BackdropTab12C[5] = BlzCreateFrameByType("BACKDROP", "BackdropTab12C[5]", Tab12C[5], "", 1)
 call BlzFrameSetAllPoints(BackdropTab12C[5], Tab12C[5])
 call BlzFrameSetTexture(BackdropTab12C[5], "LPB.blp", 0, true)
set TriggerTab12C[5] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab12C[5], Tab12C[5], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab12C[5], function Tab12C05Func)

set Tab10C[5] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[5], 0, 0)
 call BlzFrameSetAbsPoint(Tab10C[5], FRAMEPOINT_TOPLEFT, 0.496640, 0.116584)
 call BlzFrameSetAbsPoint(Tab10C[5], FRAMEPOINT_BOTTOMRIGHT, 0.513279, 0.0999470)
 set BackdropTab10C[5] = BlzCreateFrameByType("BACKDROP", "BackdropTab10C[5]", Tab10C[5], "", 1)
 call BlzFrameSetAllPoints(BackdropTab10C[5], Tab10C[5])
 call BlzFrameSetTexture(BackdropTab10C[5], "CustomFrame.png", 0, true)
set TriggerTab10C[5] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab10C[5], Tab10C[5], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab10C[5], function Tab10C05Func)

set Tab11C[5] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[5], 0, 0)
 call BlzFrameSetAbsPoint(Tab11C[5], FRAMEPOINT_TOPLEFT, 0.517570, 0.116584)
 call BlzFrameSetAbsPoint(Tab11C[5], FRAMEPOINT_BOTTOMRIGHT, 0.534209, 0.0999470)
 set BackdropTab11C[5] = BlzCreateFrameByType("BACKDROP", "BackdropTab11C[5]", Tab11C[5], "", 1)
 call BlzFrameSetAllPoints(BackdropTab11C[5], Tab11C[5])
 call BlzFrameSetTexture(BackdropTab11C[5], "CustomFrame.png", 0, true)
set TriggerTab11C[5] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab11C[5], Tab11C[5], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab11C[5], function Tab11C05Func)

set PlayerMPC[6] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[6], "", 0)
call BlzFrameSetAbsPoint(PlayerMPC[6], FRAMEPOINT_TOPLEFT, 0.177810, 0.0763670)
call BlzFrameSetAbsPoint(PlayerMPC[6], FRAMEPOINT_BOTTOMRIGHT, 0.288920, 0.0608030)
call BlzFrameSetText(PlayerMPC[6], "|cff3700ffPlayer MP\n|r")
call BlzFrameSetEnable(PlayerMPC[6], false)
call BlzFrameSetScale(PlayerMPC[6], 1.00)
call BlzFrameSetTextAlignment(PlayerMPC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set PlayerHPC[6] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[6], "", 0)
call BlzFrameSetAbsPoint(PlayerHPC[6], FRAMEPOINT_TOPLEFT, 0.177810, 0.0940780)
call BlzFrameSetAbsPoint(PlayerHPC[6], FRAMEPOINT_BOTTOMRIGHT, 0.288380, 0.0785140)
call BlzFrameSetText(PlayerHPC[6], "|cffff0019Player HP|r")
call BlzFrameSetEnable(PlayerHPC[6], false)
call BlzFrameSetScale(PlayerHPC[6], 1.00)
call BlzFrameSetTextAlignment(PlayerHPC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set TargetHPC[6] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[6], "", 0)
call BlzFrameSetAbsPoint(TargetHPC[6], FRAMEPOINT_TOPLEFT, 0.444040, 0.0940780)
call BlzFrameSetAbsPoint(TargetHPC[6], FRAMEPOINT_BOTTOMRIGHT, 0.554610, 0.0785140)
call BlzFrameSetText(TargetHPC[6], "|cffff00ddTarget HP|r")
call BlzFrameSetEnable(TargetHPC[6], false)
call BlzFrameSetScale(TargetHPC[6], 1.00)
call BlzFrameSetTextAlignment(TargetHPC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set TargetMPC[6] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[6], "", 0)
call BlzFrameSetAbsPoint(TargetMPC[6], FRAMEPOINT_TOPLEFT, 0.444040, 0.0769030)
call BlzFrameSetAbsPoint(TargetMPC[6], FRAMEPOINT_BOTTOMRIGHT, 0.555150, 0.0608030)
call BlzFrameSetText(TargetMPC[6], "|cff00bfffTarget MP|r")
call BlzFrameSetEnable(TargetMPC[6], false)
call BlzFrameSetScale(TargetMPC[6], 1.00)
call BlzFrameSetTextAlignment(TargetMPC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)

set GoldInfoC[6] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[6], "", 0)
call BlzFrameSetAbsPoint(GoldInfoC[6], FRAMEPOINT_TOPLEFT, 0.294290, 0.0849290)
call BlzFrameSetAbsPoint(GoldInfoC[6], FRAMEPOINT_BOTTOMRIGHT, 0.323811, 0.0699020)
call BlzFrameSetText(GoldInfoC[6], "|cffFFCC00Gold|r")
call BlzFrameSetEnable(GoldInfoC[6], false)
call BlzFrameSetScale(GoldInfoC[6], 0.715)
call BlzFrameSetTextAlignment(GoldInfoC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set LumberInfoCopyC[6] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[6], "", 0)
call BlzFrameSetAbsPoint(LumberInfoCopyC[6], FRAMEPOINT_TOPLEFT, 0.343670, 0.0849290)
call BlzFrameSetAbsPoint(LumberInfoCopyC[6], FRAMEPOINT_BOTTOMRIGHT, 0.373191, 0.0699020)
call BlzFrameSetText(LumberInfoCopyC[6], "|cff9c8163Lumber|r")
call BlzFrameSetEnable(LumberInfoCopyC[6], false)
call BlzFrameSetScale(LumberInfoCopyC[6], 0.715)
call BlzFrameSetTextAlignment(LumberInfoCopyC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set PowerInfoC[6] = BlzCreateFrameByType("TEXT", "name", CustomUIBDC[6], "", 0)
call BlzFrameSetAbsPoint(PowerInfoC[6], FRAMEPOINT_TOPLEFT, 0.393580, 0.0849290)
call BlzFrameSetAbsPoint(PowerInfoC[6], FRAMEPOINT_BOTTOMRIGHT, 0.423101, 0.0699020)
call BlzFrameSetText(PowerInfoC[6], "|cff0fefffPower|r")
call BlzFrameSetEnable(PowerInfoC[6], false)
call BlzFrameSetScale(PowerInfoC[6], 0.572)
call BlzFrameSetTextAlignment(PowerInfoC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_LEFT)

set Tab1C[6] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[6], 0, 0)
 call BlzFrameSetAbsPoint(Tab1C[6], FRAMEPOINT_TOPLEFT, 0.178350, 0.116584)
 call BlzFrameSetAbsPoint(Tab1C[6], FRAMEPOINT_BOTTOMRIGHT, 0.194989, 0.0999470)
 set BackdropTab1C[6] = BlzCreateFrameByType("BACKDROP", "BackdropTab1C[6]", Tab1C[6], "", 1)
 call BlzFrameSetAllPoints(BackdropTab1C[6], Tab1C[6])
 call BlzFrameSetTexture(BackdropTab1C[6], "BiologyB.blp", 0, true)
set TriggerTab1C[6] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab1C[6], Tab1C[6], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab1C[6], function Tab1C06Func)

set Tab2C[6] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[6], 0, 0)
 call BlzFrameSetAbsPoint(Tab2C[6], FRAMEPOINT_TOPLEFT, 0.199280, 0.116047)
 call BlzFrameSetAbsPoint(Tab2C[6], FRAMEPOINT_BOTTOMRIGHT, 0.215919, 0.0994100)
 set BackdropTab2C[6] = BlzCreateFrameByType("BACKDROP", "BackdropTab2C[6]", Tab2C[6], "", 1)
 call BlzFrameSetAllPoints(BackdropTab2C[6], Tab2C[6])
 call BlzFrameSetTexture(BackdropTab2C[6], "MechanicB.blp", 0, true)
set TriggerTab2C[6] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab2C[6], Tab2C[6], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab2C[6], function Tab2C06Func)

set Tab3C[6] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[6], 0, 0)
 call BlzFrameSetAbsPoint(Tab3C[6], FRAMEPOINT_TOPLEFT, 0.220750, 0.116584)
 call BlzFrameSetAbsPoint(Tab3C[6], FRAMEPOINT_BOTTOMRIGHT, 0.237389, 0.0999470)
 set BackdropTab3C[6] = BlzCreateFrameByType("BACKDROP", "BackdropTab3C[6]", Tab3C[6], "", 1)
 call BlzFrameSetAllPoints(BackdropTab3C[6], Tab3C[6])
 call BlzFrameSetTexture(BackdropTab3C[6], "PoacherB.blp", 0, true)
set TriggerTab3C[6] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab3C[6], Tab3C[6], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab3C[6], function Tab3C06Func)

set Tab4C[6] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[6], 0, 0)
 call BlzFrameSetAbsPoint(Tab4C[6], FRAMEPOINT_TOPLEFT, 0.241690, 0.116584)
 call BlzFrameSetAbsPoint(Tab4C[6], FRAMEPOINT_BOTTOMRIGHT, 0.258329, 0.0999470)
 set BackdropTab4C[6] = BlzCreateFrameByType("BACKDROP", "BackdropTab4C[6]", Tab4C[6], "", 1)
 call BlzFrameSetAllPoints(BackdropTab4C[6], Tab4C[6])
 call BlzFrameSetTexture(BackdropTab4C[6], "PhysicsB.blp", 0, true)
set TriggerTab4C[6] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab4C[6], Tab4C[6], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab4C[6], function Tab4C06Func)

set Tab5C[6] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[6], 0, 0)
 call BlzFrameSetAbsPoint(Tab5C[6], FRAMEPOINT_TOPLEFT, 0.262080, 0.117117)
 call BlzFrameSetAbsPoint(Tab5C[6], FRAMEPOINT_BOTTOMRIGHT, 0.278719, 0.100480)
 set BackdropTab5C[6] = BlzCreateFrameByType("BACKDROP", "BackdropTab5C[6]", Tab5C[6], "", 1)
 call BlzFrameSetAllPoints(BackdropTab5C[6], Tab5C[6])
 call BlzFrameSetTexture(BackdropTab5C[6], "UndeadB.blp", 0, true)
set TriggerTab5C[6] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab5C[6], Tab5C[6], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab5C[6], function Tab5C06Func)

set Tab6C[6] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[6], 0, 0)
 call BlzFrameSetAbsPoint(Tab6C[6], FRAMEPOINT_TOPLEFT, 0.283550, 0.116584)
 call BlzFrameSetAbsPoint(Tab6C[6], FRAMEPOINT_BOTTOMRIGHT, 0.300189, 0.0999470)
 set BackdropTab6C[6] = BlzCreateFrameByType("BACKDROP", "BackdropTab6C[6]", Tab6C[6], "", 1)
 call BlzFrameSetAllPoints(BackdropTab6C[6], Tab6C[6])
 call BlzFrameSetTexture(BackdropTab6C[6], "AdaptiveB.blp", 0, true)
set TriggerTab6C[6] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab6C[6], Tab6C[6], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab6C[6], function Tab6C06Func)

set Tab7C[6] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[6], 0, 0)
 call BlzFrameSetAbsPoint(Tab7C[6], FRAMEPOINT_TOPLEFT, 0.433300, 0.116584)
 call BlzFrameSetAbsPoint(Tab7C[6], FRAMEPOINT_BOTTOMRIGHT, 0.449939, 0.0999470)
 set BackdropTab7C[6] = BlzCreateFrameByType("BACKDROP", "BackdropTab7C[6]", Tab7C[6], "", 1)
 call BlzFrameSetAllPoints(BackdropTab7C[6], Tab7C[6])
 call BlzFrameSetTexture(BackdropTab7C[6], "CamB.blp", 0, true)
set TriggerTab7C[6] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab7C[6], Tab7C[6], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab7C[6], function Tab7C06Func)

set Tab8C[6] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[6], 0, 0)
 call BlzFrameSetAbsPoint(Tab8C[6], FRAMEPOINT_TOPLEFT, 0.453700, 0.116584)
 call BlzFrameSetAbsPoint(Tab8C[6], FRAMEPOINT_BOTTOMRIGHT, 0.470339, 0.0999470)
 set BackdropTab8C[6] = BlzCreateFrameByType("BACKDROP", "BackdropTab8C[6]", Tab8C[6], "", 1)
 call BlzFrameSetAllPoints(BackdropTab8C[6], Tab8C[6])
 call BlzFrameSetTexture(BackdropTab8C[6], "CraftB.blp", 0, true)
set TriggerTab8C[6] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab8C[6], Tab8C[6], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab8C[6], function Tab8C06Func)

set Tab9C[6] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[6], 0, 0)
 call BlzFrameSetAbsPoint(Tab9C[6], FRAMEPOINT_TOPLEFT, 0.475170, 0.116047)
 call BlzFrameSetAbsPoint(Tab9C[6], FRAMEPOINT_BOTTOMRIGHT, 0.491809, 0.0994100)
 set BackdropTab9C[6] = BlzCreateFrameByType("BACKDROP", "BackdropTab9C[6]", Tab9C[6], "", 1)
 call BlzFrameSetAllPoints(BackdropTab9C[6], Tab9C[6])
 call BlzFrameSetTexture(BackdropTab9C[6], "BaPB.blp", 0, true)
set TriggerTab9C[6] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab9C[6], Tab9C[6], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab9C[6], function Tab9C06Func)

set Tab12C[6] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[6], 0, 0)
 call BlzFrameSetAbsPoint(Tab12C[6], FRAMEPOINT_TOPLEFT, 0.539040, 0.116584)
 call BlzFrameSetAbsPoint(Tab12C[6], FRAMEPOINT_BOTTOMRIGHT, 0.555679, 0.0999470)
 set BackdropTab12C[6] = BlzCreateFrameByType("BACKDROP", "BackdropTab12C[6]", Tab12C[6], "", 1)
 call BlzFrameSetAllPoints(BackdropTab12C[6], Tab12C[6])
 call BlzFrameSetTexture(BackdropTab12C[6], "LPB.blp", 0, true)
set TriggerTab12C[6] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab12C[6], Tab12C[6], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab12C[6], function Tab12C06Func)

set Tab10C[6] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[6], 0, 0)
 call BlzFrameSetAbsPoint(Tab10C[6], FRAMEPOINT_TOPLEFT, 0.496640, 0.116584)
 call BlzFrameSetAbsPoint(Tab10C[6], FRAMEPOINT_BOTTOMRIGHT, 0.513279, 0.0999470)
 set BackdropTab10C[6] = BlzCreateFrameByType("BACKDROP", "BackdropTab10C[6]", Tab10C[6], "", 1)
 call BlzFrameSetAllPoints(BackdropTab10C[6], Tab10C[6])
 call BlzFrameSetTexture(BackdropTab10C[6], "CustomFrame.png", 0, true)
set TriggerTab10C[6] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab10C[6], Tab10C[6], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab10C[6], function Tab10C06Func)

set Tab11C[6] = BlzCreateFrame("ScriptDialogButton", CustomUIBDC[6], 0, 0)
 call BlzFrameSetAbsPoint(Tab11C[6], FRAMEPOINT_TOPLEFT, 0.517570, 0.116584)
 call BlzFrameSetAbsPoint(Tab11C[6], FRAMEPOINT_BOTTOMRIGHT, 0.534209, 0.0999470)
 set BackdropTab11C[6] = BlzCreateFrameByType("BACKDROP", "BackdropTab11C[6]", Tab11C[6], "", 1)
 call BlzFrameSetAllPoints(BackdropTab11C[6], Tab11C[6])
 call BlzFrameSetTexture(BackdropTab11C[6], "CustomFrame.png", 0, true)
set TriggerTab11C[6] = CreateTrigger()
 call BlzTriggerRegisterFrameEvent(TriggerTab11C[6], Tab11C[6], FRAMEEVENT_CONTROL_CLICK)
 call TriggerAddAction(TriggerTab11C[6], function Tab11C06Func)

set BiologyTTC[0] = BlzCreateFrameByType("TEXT", "name", Tab1C[0], "", 0)
call BlzFrameSetAbsPoint(BiologyTTC[0], FRAMEPOINT_TOPLEFT, 0.169230, 0.145560)
call BlzFrameSetAbsPoint(BiologyTTC[0], FRAMEPOINT_BOTTOMRIGHT, 0.301800, 0.126240)
call BlzFrameSetText(BiologyTTC[0], "|cffFFCC00Biology School [Num /]|r")
call BlzFrameSetEnable(BiologyTTC[0], false)
call BlzFrameSetScale(BiologyTTC[0], 1.00)
call BlzFrameSetTextAlignment(BiologyTTC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab1C[0], BiologyTTC[0])

set MechanicTTC[0] = BlzCreateFrameByType("TEXT", "name", Tab2C[0], "", 0)
call BlzFrameSetAbsPoint(MechanicTTC[0], FRAMEPOINT_TOPLEFT, 0.183180, 0.145560)
call BlzFrameSetAbsPoint(MechanicTTC[0], FRAMEPOINT_BOTTOMRIGHT, 0.315750, 0.126240)
call BlzFrameSetText(MechanicTTC[0], "|cffFFCC00Mechanic School [Num *]|r")
call BlzFrameSetEnable(MechanicTTC[0], false)
call BlzFrameSetScale(MechanicTTC[0], 1.00)
call BlzFrameSetTextAlignment(MechanicTTC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab2C[0], MechanicTTC[0])

set PoacherTTC[0] = BlzCreateFrameByType("TEXT", "name", Tab3C[0], "", 0)
call BlzFrameSetAbsPoint(PoacherTTC[0], FRAMEPOINT_TOPLEFT, 0.197140, 0.145560)
call BlzFrameSetAbsPoint(PoacherTTC[0], FRAMEPOINT_BOTTOMRIGHT, 0.329710, 0.126240)
call BlzFrameSetText(PoacherTTC[0], "|cffFFCC00Poacher School [Num -]|r")
call BlzFrameSetEnable(PoacherTTC[0], false)
call BlzFrameSetScale(PoacherTTC[0], 1.00)
call BlzFrameSetTextAlignment(PoacherTTC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab3C[0], PoacherTTC[0])

set PhysicsTTC[0] = BlzCreateFrameByType("TEXT", "name", Tab4C[0], "", 0)
call BlzFrameSetAbsPoint(PhysicsTTC[0], FRAMEPOINT_TOPLEFT, 0.211630, 0.145560)
call BlzFrameSetAbsPoint(PhysicsTTC[0], FRAMEPOINT_BOTTOMRIGHT, 0.344200, 0.126240)
call BlzFrameSetText(PhysicsTTC[0], "|cffFFCC00Physics School [Num 9]|r")
call BlzFrameSetEnable(PhysicsTTC[0], false)
call BlzFrameSetScale(PhysicsTTC[0], 1.00)
call BlzFrameSetTextAlignment(PhysicsTTC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab4C[0], PhysicsTTC[0])

set ScienceTTC[0] = BlzCreateFrameByType("TEXT", "name", Tab5C[0], "", 0)
call BlzFrameSetAbsPoint(ScienceTTC[0], FRAMEPOINT_TOPLEFT, 0.226120, 0.145560)
call BlzFrameSetAbsPoint(ScienceTTC[0], FRAMEPOINT_BOTTOMRIGHT, 0.358690, 0.126240)
call BlzFrameSetText(ScienceTTC[0], "|cffFFCC00Science School [Num 6]|r")
call BlzFrameSetEnable(ScienceTTC[0], false)
call BlzFrameSetScale(ScienceTTC[0], 1.00)
call BlzFrameSetTextAlignment(ScienceTTC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab5C[0], ScienceTTC[0])

set AdaptiveTTC[0] = BlzCreateFrameByType("TEXT", "name", Tab6C[0], "", 0)
call BlzFrameSetAbsPoint(AdaptiveTTC[0], FRAMEPOINT_TOPLEFT, 0.240610, 0.145560)
call BlzFrameSetAbsPoint(AdaptiveTTC[0], FRAMEPOINT_BOTTOMRIGHT, 0.373180, 0.126240)
call BlzFrameSetText(AdaptiveTTC[0], "|cffFFCC00Adaptive School [Num 3]|r")
call BlzFrameSetEnable(AdaptiveTTC[0], false)
call BlzFrameSetScale(AdaptiveTTC[0], 1.00)
call BlzFrameSetTextAlignment(AdaptiveTTC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab6C[0], AdaptiveTTC[0])

set CameraTTC[0] = BlzCreateFrameByType("TEXT", "name", Tab7C[0], "", 0)
call BlzFrameSetAbsPoint(CameraTTC[0], FRAMEPOINT_TOPLEFT, 0.361380, 0.144490)
call BlzFrameSetAbsPoint(CameraTTC[0], FRAMEPOINT_BOTTOMRIGHT, 0.493950, 0.125170)
call BlzFrameSetText(CameraTTC[0], "|cffFFCC00[K] Camera Settings|r")
call BlzFrameSetEnable(CameraTTC[0], false)
call BlzFrameSetScale(CameraTTC[0], 1.00)
call BlzFrameSetTextAlignment(CameraTTC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab7C[0], CameraTTC[0])

set CraftTTC[0] = BlzCreateFrameByType("TEXT", "name", Tab8C[0], "", 0)
call BlzFrameSetAbsPoint(CraftTTC[0], FRAMEPOINT_TOPLEFT, 0.374800, 0.144490)
call BlzFrameSetAbsPoint(CraftTTC[0], FRAMEPOINT_BOTTOMRIGHT, 0.507370, 0.125170)
call BlzFrameSetText(CraftTTC[0], "|cffFFCC00[O] Craft System|r")
call BlzFrameSetEnable(CraftTTC[0], false)
call BlzFrameSetScale(CraftTTC[0], 1.00)
call BlzFrameSetTextAlignment(CraftTTC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab8C[0], CraftTTC[0])

set BaPStorageTTC[0] = BlzCreateFrameByType("TEXT", "name", Tab9C[0], "", 0)
call BlzFrameSetAbsPoint(BaPStorageTTC[0], FRAMEPOINT_TOPLEFT, 0.388750, 0.144490)
call BlzFrameSetAbsPoint(BaPStorageTTC[0], FRAMEPOINT_BOTTOMRIGHT, 0.521320, 0.125170)
call BlzFrameSetText(BaPStorageTTC[0], "|cffFFCC00[I] BaP Storage|r")
call BlzFrameSetEnable(BaPStorageTTC[0], false)
call BlzFrameSetScale(BaPStorageTTC[0], 1.00)
call BlzFrameSetTextAlignment(BaPStorageTTC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab9C[0], BaPStorageTTC[0])

set LoyalShopTTC[0] = BlzCreateFrameByType("TEXT", "name", Tab12C[0], "", 0)
call BlzFrameSetAbsPoint(LoyalShopTTC[0], FRAMEPOINT_TOPLEFT, 0.430620, 0.144490)
call BlzFrameSetAbsPoint(LoyalShopTTC[0], FRAMEPOINT_BOTTOMRIGHT, 0.563190, 0.125170)
call BlzFrameSetText(LoyalShopTTC[0], "|cffFFCC00[L] Loyalty Shop|r")
call BlzFrameSetEnable(LoyalShopTTC[0], false)
call BlzFrameSetScale(LoyalShopTTC[0], 1.00)
call BlzFrameSetTextAlignment(LoyalShopTTC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab12C[0], LoyalShopTTC[0])

set UnusedTT1C[0] = BlzCreateFrameByType("TEXT", "name", Tab10C[0], "", 0)
call BlzFrameSetAbsPoint(UnusedTT1C[0], FRAMEPOINT_TOPLEFT, 0.402710, 0.144490)
call BlzFrameSetAbsPoint(UnusedTT1C[0], FRAMEPOINT_BOTTOMRIGHT, 0.535280, 0.125170)
call BlzFrameSetText(UnusedTT1C[0], "|cffFFCC00Currently Unused.|r")
call BlzFrameSetEnable(UnusedTT1C[0], false)
call BlzFrameSetScale(UnusedTT1C[0], 1.00)
call BlzFrameSetTextAlignment(UnusedTT1C[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab10C[0], UnusedTT1C[0])

set UnusedTT2C[0] = BlzCreateFrameByType("TEXT", "name", Tab11C[0], "", 0)
call BlzFrameSetAbsPoint(UnusedTT2C[0], FRAMEPOINT_TOPLEFT, 0.416660, 0.144490)
call BlzFrameSetAbsPoint(UnusedTT2C[0], FRAMEPOINT_BOTTOMRIGHT, 0.549230, 0.125170)
call BlzFrameSetText(UnusedTT2C[0], "|cffFFCC00Currently Unused.|r")
call BlzFrameSetEnable(UnusedTT2C[0], false)
call BlzFrameSetScale(UnusedTT2C[0], 1.00)
call BlzFrameSetTextAlignment(UnusedTT2C[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab11C[0], UnusedTT2C[0])

set BiologyTTC[1] = BlzCreateFrameByType("TEXT", "name", Tab1C[1], "", 0)
call BlzFrameSetAbsPoint(BiologyTTC[1], FRAMEPOINT_TOPLEFT, 0.169230, 0.145560)
call BlzFrameSetAbsPoint(BiologyTTC[1], FRAMEPOINT_BOTTOMRIGHT, 0.301800, 0.126240)
call BlzFrameSetText(BiologyTTC[1], "|cffFFCC00Biology School [Num /]|r")
call BlzFrameSetEnable(BiologyTTC[1], false)
call BlzFrameSetScale(BiologyTTC[1], 1.00)
call BlzFrameSetTextAlignment(BiologyTTC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab1C[1], BiologyTTC[1])

set MechanicTTC[1] = BlzCreateFrameByType("TEXT", "name", Tab2C[1], "", 0)
call BlzFrameSetAbsPoint(MechanicTTC[1], FRAMEPOINT_TOPLEFT, 0.183180, 0.145560)
call BlzFrameSetAbsPoint(MechanicTTC[1], FRAMEPOINT_BOTTOMRIGHT, 0.315750, 0.126240)
call BlzFrameSetText(MechanicTTC[1], "|cffFFCC00Mechanic School [Num *]|r")
call BlzFrameSetEnable(MechanicTTC[1], false)
call BlzFrameSetScale(MechanicTTC[1], 1.00)
call BlzFrameSetTextAlignment(MechanicTTC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab2C[1], MechanicTTC[1])

set PoacherTTC[1] = BlzCreateFrameByType("TEXT", "name", Tab3C[1], "", 0)
call BlzFrameSetAbsPoint(PoacherTTC[1], FRAMEPOINT_TOPLEFT, 0.197140, 0.145560)
call BlzFrameSetAbsPoint(PoacherTTC[1], FRAMEPOINT_BOTTOMRIGHT, 0.329710, 0.126240)
call BlzFrameSetText(PoacherTTC[1], "|cffFFCC00Poacher School [Num -]|r")
call BlzFrameSetEnable(PoacherTTC[1], false)
call BlzFrameSetScale(PoacherTTC[1], 1.00)
call BlzFrameSetTextAlignment(PoacherTTC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab3C[1], PoacherTTC[1])

set PhysicsTTC[1] = BlzCreateFrameByType("TEXT", "name", Tab4C[1], "", 0)
call BlzFrameSetAbsPoint(PhysicsTTC[1], FRAMEPOINT_TOPLEFT, 0.211630, 0.145560)
call BlzFrameSetAbsPoint(PhysicsTTC[1], FRAMEPOINT_BOTTOMRIGHT, 0.344200, 0.126240)
call BlzFrameSetText(PhysicsTTC[1], "|cffFFCC00Physics School [Num 9]|r")
call BlzFrameSetEnable(PhysicsTTC[1], false)
call BlzFrameSetScale(PhysicsTTC[1], 1.00)
call BlzFrameSetTextAlignment(PhysicsTTC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab4C[1], PhysicsTTC[1])

set ScienceTTC[1] = BlzCreateFrameByType("TEXT", "name", Tab5C[1], "", 0)
call BlzFrameSetAbsPoint(ScienceTTC[1], FRAMEPOINT_TOPLEFT, 0.226120, 0.145560)
call BlzFrameSetAbsPoint(ScienceTTC[1], FRAMEPOINT_BOTTOMRIGHT, 0.358690, 0.126240)
call BlzFrameSetText(ScienceTTC[1], "|cffFFCC00Science School [Num 6]|r")
call BlzFrameSetEnable(ScienceTTC[1], false)
call BlzFrameSetScale(ScienceTTC[1], 1.00)
call BlzFrameSetTextAlignment(ScienceTTC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab5C[1], ScienceTTC[1])

set AdaptiveTTC[1] = BlzCreateFrameByType("TEXT", "name", Tab6C[1], "", 0)
call BlzFrameSetAbsPoint(AdaptiveTTC[1], FRAMEPOINT_TOPLEFT, 0.240610, 0.145560)
call BlzFrameSetAbsPoint(AdaptiveTTC[1], FRAMEPOINT_BOTTOMRIGHT, 0.373180, 0.126240)
call BlzFrameSetText(AdaptiveTTC[1], "|cffFFCC00Adaptive School [Num 3]|r")
call BlzFrameSetEnable(AdaptiveTTC[1], false)
call BlzFrameSetScale(AdaptiveTTC[1], 1.00)
call BlzFrameSetTextAlignment(AdaptiveTTC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab6C[1], AdaptiveTTC[1])

set CameraTTC[1] = BlzCreateFrameByType("TEXT", "name", Tab7C[1], "", 0)
call BlzFrameSetAbsPoint(CameraTTC[1], FRAMEPOINT_TOPLEFT, 0.361380, 0.144490)
call BlzFrameSetAbsPoint(CameraTTC[1], FRAMEPOINT_BOTTOMRIGHT, 0.493950, 0.125170)
call BlzFrameSetText(CameraTTC[1], "|cffFFCC00[K] Camera Settings|r")
call BlzFrameSetEnable(CameraTTC[1], false)
call BlzFrameSetScale(CameraTTC[1], 1.00)
call BlzFrameSetTextAlignment(CameraTTC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab7C[1], CameraTTC[1])

set CraftTTC[1] = BlzCreateFrameByType("TEXT", "name", Tab8C[1], "", 0)
call BlzFrameSetAbsPoint(CraftTTC[1], FRAMEPOINT_TOPLEFT, 0.374800, 0.144490)
call BlzFrameSetAbsPoint(CraftTTC[1], FRAMEPOINT_BOTTOMRIGHT, 0.507370, 0.125170)
call BlzFrameSetText(CraftTTC[1], "|cffFFCC00[O] Craft System|r")
call BlzFrameSetEnable(CraftTTC[1], false)
call BlzFrameSetScale(CraftTTC[1], 1.00)
call BlzFrameSetTextAlignment(CraftTTC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab8C[1], CraftTTC[1])

set BaPStorageTTC[1] = BlzCreateFrameByType("TEXT", "name", Tab9C[1], "", 0)
call BlzFrameSetAbsPoint(BaPStorageTTC[1], FRAMEPOINT_TOPLEFT, 0.388750, 0.144490)
call BlzFrameSetAbsPoint(BaPStorageTTC[1], FRAMEPOINT_BOTTOMRIGHT, 0.521320, 0.125170)
call BlzFrameSetText(BaPStorageTTC[1], "|cffFFCC00[I] BaP Storage|r")
call BlzFrameSetEnable(BaPStorageTTC[1], false)
call BlzFrameSetScale(BaPStorageTTC[1], 1.00)
call BlzFrameSetTextAlignment(BaPStorageTTC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab9C[1], BaPStorageTTC[1])

set LoyalShopTTC[1] = BlzCreateFrameByType("TEXT", "name", Tab12C[1], "", 0)
call BlzFrameSetAbsPoint(LoyalShopTTC[1], FRAMEPOINT_TOPLEFT, 0.430620, 0.144490)
call BlzFrameSetAbsPoint(LoyalShopTTC[1], FRAMEPOINT_BOTTOMRIGHT, 0.563190, 0.125170)
call BlzFrameSetText(LoyalShopTTC[1], "|cffFFCC00[L] Loyalty Shop|r")
call BlzFrameSetEnable(LoyalShopTTC[1], false)
call BlzFrameSetScale(LoyalShopTTC[1], 1.00)
call BlzFrameSetTextAlignment(LoyalShopTTC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab12C[1], LoyalShopTTC[1])

set UnusedTT1C[1] = BlzCreateFrameByType("TEXT", "name", Tab10C[1], "", 0)
call BlzFrameSetAbsPoint(UnusedTT1C[1], FRAMEPOINT_TOPLEFT, 0.402710, 0.144490)
call BlzFrameSetAbsPoint(UnusedTT1C[1], FRAMEPOINT_BOTTOMRIGHT, 0.535280, 0.125170)
call BlzFrameSetText(UnusedTT1C[1], "|cffFFCC00Currently Unused.|r")
call BlzFrameSetEnable(UnusedTT1C[1], false)
call BlzFrameSetScale(UnusedTT1C[1], 1.00)
call BlzFrameSetTextAlignment(UnusedTT1C[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab10C[1], UnusedTT1C[1])

set UnusedTT2C[1] = BlzCreateFrameByType("TEXT", "name", Tab11C[1], "", 0)
call BlzFrameSetAbsPoint(UnusedTT2C[1], FRAMEPOINT_TOPLEFT, 0.416660, 0.144490)
call BlzFrameSetAbsPoint(UnusedTT2C[1], FRAMEPOINT_BOTTOMRIGHT, 0.549230, 0.125170)
call BlzFrameSetText(UnusedTT2C[1], "|cffFFCC00Currently Unused.|r")
call BlzFrameSetEnable(UnusedTT2C[1], false)
call BlzFrameSetScale(UnusedTT2C[1], 1.00)
call BlzFrameSetTextAlignment(UnusedTT2C[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab11C[1], UnusedTT2C[1])

set BiologyTTC[2] = BlzCreateFrameByType("TEXT", "name", Tab1C[2], "", 0)
call BlzFrameSetAbsPoint(BiologyTTC[2], FRAMEPOINT_TOPLEFT, 0.169230, 0.145560)
call BlzFrameSetAbsPoint(BiologyTTC[2], FRAMEPOINT_BOTTOMRIGHT, 0.301800, 0.126240)
call BlzFrameSetText(BiologyTTC[2], "|cffFFCC00Biology School [Num /]|r")
call BlzFrameSetEnable(BiologyTTC[2], false)
call BlzFrameSetScale(BiologyTTC[2], 1.00)
call BlzFrameSetTextAlignment(BiologyTTC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab1C[2], BiologyTTC[2])

set MechanicTTC[2] = BlzCreateFrameByType("TEXT", "name", Tab2C[2], "", 0)
call BlzFrameSetAbsPoint(MechanicTTC[2], FRAMEPOINT_TOPLEFT, 0.183180, 0.145560)
call BlzFrameSetAbsPoint(MechanicTTC[2], FRAMEPOINT_BOTTOMRIGHT, 0.315750, 0.126240)
call BlzFrameSetText(MechanicTTC[2], "|cffFFCC00Mechanic School [Num *]|r")
call BlzFrameSetEnable(MechanicTTC[2], false)
call BlzFrameSetScale(MechanicTTC[2], 1.00)
call BlzFrameSetTextAlignment(MechanicTTC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab2C[2], MechanicTTC[2])

set PoacherTTC[2] = BlzCreateFrameByType("TEXT", "name", Tab3C[2], "", 0)
call BlzFrameSetAbsPoint(PoacherTTC[2], FRAMEPOINT_TOPLEFT, 0.197140, 0.145560)
call BlzFrameSetAbsPoint(PoacherTTC[2], FRAMEPOINT_BOTTOMRIGHT, 0.329710, 0.126240)
call BlzFrameSetText(PoacherTTC[2], "|cffFFCC00Poacher School [Num -]|r")
call BlzFrameSetEnable(PoacherTTC[2], false)
call BlzFrameSetScale(PoacherTTC[2], 1.00)
call BlzFrameSetTextAlignment(PoacherTTC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab3C[2], PoacherTTC[2])

set PhysicsTTC[2] = BlzCreateFrameByType("TEXT", "name", Tab4C[2], "", 0)
call BlzFrameSetAbsPoint(PhysicsTTC[2], FRAMEPOINT_TOPLEFT, 0.211630, 0.145560)
call BlzFrameSetAbsPoint(PhysicsTTC[2], FRAMEPOINT_BOTTOMRIGHT, 0.344200, 0.126240)
call BlzFrameSetText(PhysicsTTC[2], "|cffFFCC00Physics School [Num 9]|r")
call BlzFrameSetEnable(PhysicsTTC[2], false)
call BlzFrameSetScale(PhysicsTTC[2], 1.00)
call BlzFrameSetTextAlignment(PhysicsTTC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab4C[2], PhysicsTTC[2])

set ScienceTTC[2] = BlzCreateFrameByType("TEXT", "name", Tab5C[2], "", 0)
call BlzFrameSetAbsPoint(ScienceTTC[2], FRAMEPOINT_TOPLEFT, 0.226120, 0.145560)
call BlzFrameSetAbsPoint(ScienceTTC[2], FRAMEPOINT_BOTTOMRIGHT, 0.358690, 0.126240)
call BlzFrameSetText(ScienceTTC[2], "|cffFFCC00Science School [Num 6]|r")
call BlzFrameSetEnable(ScienceTTC[2], false)
call BlzFrameSetScale(ScienceTTC[2], 1.00)
call BlzFrameSetTextAlignment(ScienceTTC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab5C[2], ScienceTTC[2])

set AdaptiveTTC[2] = BlzCreateFrameByType("TEXT", "name", Tab6C[2], "", 0)
call BlzFrameSetAbsPoint(AdaptiveTTC[2], FRAMEPOINT_TOPLEFT, 0.240610, 0.145560)
call BlzFrameSetAbsPoint(AdaptiveTTC[2], FRAMEPOINT_BOTTOMRIGHT, 0.373180, 0.126240)
call BlzFrameSetText(AdaptiveTTC[2], "|cffFFCC00Adaptive School [Num 3]|r")
call BlzFrameSetEnable(AdaptiveTTC[2], false)
call BlzFrameSetScale(AdaptiveTTC[2], 1.00)
call BlzFrameSetTextAlignment(AdaptiveTTC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab6C[2], AdaptiveTTC[2])

set CameraTTC[2] = BlzCreateFrameByType("TEXT", "name", Tab7C[2], "", 0)
call BlzFrameSetAbsPoint(CameraTTC[2], FRAMEPOINT_TOPLEFT, 0.361380, 0.144490)
call BlzFrameSetAbsPoint(CameraTTC[2], FRAMEPOINT_BOTTOMRIGHT, 0.493950, 0.125170)
call BlzFrameSetText(CameraTTC[2], "|cffFFCC00[K] Camera Settings|r")
call BlzFrameSetEnable(CameraTTC[2], false)
call BlzFrameSetScale(CameraTTC[2], 1.00)
call BlzFrameSetTextAlignment(CameraTTC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab7C[2], CameraTTC[2])

set CraftTTC[2] = BlzCreateFrameByType("TEXT", "name", Tab8C[2], "", 0)
call BlzFrameSetAbsPoint(CraftTTC[2], FRAMEPOINT_TOPLEFT, 0.374800, 0.144490)
call BlzFrameSetAbsPoint(CraftTTC[2], FRAMEPOINT_BOTTOMRIGHT, 0.507370, 0.125170)
call BlzFrameSetText(CraftTTC[2], "|cffFFCC00[O] Craft System|r")
call BlzFrameSetEnable(CraftTTC[2], false)
call BlzFrameSetScale(CraftTTC[2], 1.00)
call BlzFrameSetTextAlignment(CraftTTC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab8C[2], CraftTTC[2])

set BaPStorageTTC[2] = BlzCreateFrameByType("TEXT", "name", Tab9C[2], "", 0)
call BlzFrameSetAbsPoint(BaPStorageTTC[2], FRAMEPOINT_TOPLEFT, 0.388750, 0.144490)
call BlzFrameSetAbsPoint(BaPStorageTTC[2], FRAMEPOINT_BOTTOMRIGHT, 0.521320, 0.125170)
call BlzFrameSetText(BaPStorageTTC[2], "|cffFFCC00[I] BaP Storage|r")
call BlzFrameSetEnable(BaPStorageTTC[2], false)
call BlzFrameSetScale(BaPStorageTTC[2], 1.00)
call BlzFrameSetTextAlignment(BaPStorageTTC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab9C[2], BaPStorageTTC[2])

set LoyalShopTTC[2] = BlzCreateFrameByType("TEXT", "name", Tab12C[2], "", 0)
call BlzFrameSetAbsPoint(LoyalShopTTC[2], FRAMEPOINT_TOPLEFT, 0.430620, 0.144490)
call BlzFrameSetAbsPoint(LoyalShopTTC[2], FRAMEPOINT_BOTTOMRIGHT, 0.563190, 0.125170)
call BlzFrameSetText(LoyalShopTTC[2], "|cffFFCC00[L] Loyalty Shop|r")
call BlzFrameSetEnable(LoyalShopTTC[2], false)
call BlzFrameSetScale(LoyalShopTTC[2], 1.00)
call BlzFrameSetTextAlignment(LoyalShopTTC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab12C[2], LoyalShopTTC[2])

set UnusedTT1C[2] = BlzCreateFrameByType("TEXT", "name", Tab10C[2], "", 0)
call BlzFrameSetAbsPoint(UnusedTT1C[2], FRAMEPOINT_TOPLEFT, 0.402710, 0.144490)
call BlzFrameSetAbsPoint(UnusedTT1C[2], FRAMEPOINT_BOTTOMRIGHT, 0.535280, 0.125170)
call BlzFrameSetText(UnusedTT1C[2], "|cffFFCC00Currently Unused.|r")
call BlzFrameSetEnable(UnusedTT1C[2], false)
call BlzFrameSetScale(UnusedTT1C[2], 1.00)
call BlzFrameSetTextAlignment(UnusedTT1C[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab10C[2], UnusedTT1C[2])

set UnusedTT2C[2] = BlzCreateFrameByType("TEXT", "name", Tab11C[2], "", 0)
call BlzFrameSetAbsPoint(UnusedTT2C[2], FRAMEPOINT_TOPLEFT, 0.416660, 0.144490)
call BlzFrameSetAbsPoint(UnusedTT2C[2], FRAMEPOINT_BOTTOMRIGHT, 0.549230, 0.125170)
call BlzFrameSetText(UnusedTT2C[2], "|cffFFCC00Currently Unused.|r")
call BlzFrameSetEnable(UnusedTT2C[2], false)
call BlzFrameSetScale(UnusedTT2C[2], 1.00)
call BlzFrameSetTextAlignment(UnusedTT2C[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab11C[2], UnusedTT2C[2])

set BiologyTTC[3] = BlzCreateFrameByType("TEXT", "name", Tab1C[3], "", 0)
call BlzFrameSetAbsPoint(BiologyTTC[3], FRAMEPOINT_TOPLEFT, 0.169230, 0.145560)
call BlzFrameSetAbsPoint(BiologyTTC[3], FRAMEPOINT_BOTTOMRIGHT, 0.301800, 0.126240)
call BlzFrameSetText(BiologyTTC[3], "|cffFFCC00Biology School [Num /]|r")
call BlzFrameSetEnable(BiologyTTC[3], false)
call BlzFrameSetScale(BiologyTTC[3], 1.00)
call BlzFrameSetTextAlignment(BiologyTTC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab1C[3], BiologyTTC[3])

set MechanicTTC[3] = BlzCreateFrameByType("TEXT", "name", Tab2C[3], "", 0)
call BlzFrameSetAbsPoint(MechanicTTC[3], FRAMEPOINT_TOPLEFT, 0.183180, 0.145560)
call BlzFrameSetAbsPoint(MechanicTTC[3], FRAMEPOINT_BOTTOMRIGHT, 0.315750, 0.126240)
call BlzFrameSetText(MechanicTTC[3], "|cffFFCC00Mechanic School [Num *]|r")
call BlzFrameSetEnable(MechanicTTC[3], false)
call BlzFrameSetScale(MechanicTTC[3], 1.00)
call BlzFrameSetTextAlignment(MechanicTTC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab2C[3], MechanicTTC[3])

set PoacherTTC[3] = BlzCreateFrameByType("TEXT", "name", Tab3C[3], "", 0)
call BlzFrameSetAbsPoint(PoacherTTC[3], FRAMEPOINT_TOPLEFT, 0.197140, 0.145560)
call BlzFrameSetAbsPoint(PoacherTTC[3], FRAMEPOINT_BOTTOMRIGHT, 0.329710, 0.126240)
call BlzFrameSetText(PoacherTTC[3], "|cffFFCC00Poacher School [Num -]|r")
call BlzFrameSetEnable(PoacherTTC[3], false)
call BlzFrameSetScale(PoacherTTC[3], 1.00)
call BlzFrameSetTextAlignment(PoacherTTC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab3C[3], PoacherTTC[3])

set PhysicsTTC[3] = BlzCreateFrameByType("TEXT", "name", Tab4C[3], "", 0)
call BlzFrameSetAbsPoint(PhysicsTTC[3], FRAMEPOINT_TOPLEFT, 0.211630, 0.145560)
call BlzFrameSetAbsPoint(PhysicsTTC[3], FRAMEPOINT_BOTTOMRIGHT, 0.344200, 0.126240)
call BlzFrameSetText(PhysicsTTC[3], "|cffFFCC00Physics School [Num 9]|r")
call BlzFrameSetEnable(PhysicsTTC[3], false)
call BlzFrameSetScale(PhysicsTTC[3], 1.00)
call BlzFrameSetTextAlignment(PhysicsTTC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab4C[3], PhysicsTTC[3])

set ScienceTTC[3] = BlzCreateFrameByType("TEXT", "name", Tab5C[3], "", 0)
call BlzFrameSetAbsPoint(ScienceTTC[3], FRAMEPOINT_TOPLEFT, 0.226120, 0.145560)
call BlzFrameSetAbsPoint(ScienceTTC[3], FRAMEPOINT_BOTTOMRIGHT, 0.358690, 0.126240)
call BlzFrameSetText(ScienceTTC[3], "|cffFFCC00Science School [Num 6]|r")
call BlzFrameSetEnable(ScienceTTC[3], false)
call BlzFrameSetScale(ScienceTTC[3], 1.00)
call BlzFrameSetTextAlignment(ScienceTTC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab5C[3], ScienceTTC[3])

set AdaptiveTTC[3] = BlzCreateFrameByType("TEXT", "name", Tab6C[3], "", 0)
call BlzFrameSetAbsPoint(AdaptiveTTC[3], FRAMEPOINT_TOPLEFT, 0.240610, 0.145560)
call BlzFrameSetAbsPoint(AdaptiveTTC[3], FRAMEPOINT_BOTTOMRIGHT, 0.373180, 0.126240)
call BlzFrameSetText(AdaptiveTTC[3], "|cffFFCC00Adaptive School [Num 3]|r")
call BlzFrameSetEnable(AdaptiveTTC[3], false)
call BlzFrameSetScale(AdaptiveTTC[3], 1.00)
call BlzFrameSetTextAlignment(AdaptiveTTC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab6C[3], AdaptiveTTC[3])

set CameraTTC[3] = BlzCreateFrameByType("TEXT", "name", Tab7C[3], "", 0)
call BlzFrameSetAbsPoint(CameraTTC[3], FRAMEPOINT_TOPLEFT, 0.361380, 0.144490)
call BlzFrameSetAbsPoint(CameraTTC[3], FRAMEPOINT_BOTTOMRIGHT, 0.493950, 0.125170)
call BlzFrameSetText(CameraTTC[3], "|cffFFCC00[K] Camera Settings|r")
call BlzFrameSetEnable(CameraTTC[3], false)
call BlzFrameSetScale(CameraTTC[3], 1.00)
call BlzFrameSetTextAlignment(CameraTTC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab7C[3], CameraTTC[3])

set CraftTTC[3] = BlzCreateFrameByType("TEXT", "name", Tab8C[3], "", 0)
call BlzFrameSetAbsPoint(CraftTTC[3], FRAMEPOINT_TOPLEFT, 0.374800, 0.144490)
call BlzFrameSetAbsPoint(CraftTTC[3], FRAMEPOINT_BOTTOMRIGHT, 0.507370, 0.125170)
call BlzFrameSetText(CraftTTC[3], "|cffFFCC00[O] Craft System|r")
call BlzFrameSetEnable(CraftTTC[3], false)
call BlzFrameSetScale(CraftTTC[3], 1.00)
call BlzFrameSetTextAlignment(CraftTTC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab8C[3], CraftTTC[3])

set BaPStorageTTC[3] = BlzCreateFrameByType("TEXT", "name", Tab9C[3], "", 0)
call BlzFrameSetAbsPoint(BaPStorageTTC[3], FRAMEPOINT_TOPLEFT, 0.388750, 0.144490)
call BlzFrameSetAbsPoint(BaPStorageTTC[3], FRAMEPOINT_BOTTOMRIGHT, 0.521320, 0.125170)
call BlzFrameSetText(BaPStorageTTC[3], "|cffFFCC00[I] BaP Storage|r")
call BlzFrameSetEnable(BaPStorageTTC[3], false)
call BlzFrameSetScale(BaPStorageTTC[3], 1.00)
call BlzFrameSetTextAlignment(BaPStorageTTC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab9C[3], BaPStorageTTC[3])

set LoyalShopTTC[3] = BlzCreateFrameByType("TEXT", "name", Tab12C[3], "", 0)
call BlzFrameSetAbsPoint(LoyalShopTTC[3], FRAMEPOINT_TOPLEFT, 0.430620, 0.144490)
call BlzFrameSetAbsPoint(LoyalShopTTC[3], FRAMEPOINT_BOTTOMRIGHT, 0.563190, 0.125170)
call BlzFrameSetText(LoyalShopTTC[3], "|cffFFCC00[L] Loyalty Shop|r")
call BlzFrameSetEnable(LoyalShopTTC[3], false)
call BlzFrameSetScale(LoyalShopTTC[3], 1.00)
call BlzFrameSetTextAlignment(LoyalShopTTC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab12C[3], LoyalShopTTC[3])

set UnusedTT1C[3] = BlzCreateFrameByType("TEXT", "name", Tab10C[3], "", 0)
call BlzFrameSetAbsPoint(UnusedTT1C[3], FRAMEPOINT_TOPLEFT, 0.402710, 0.144490)
call BlzFrameSetAbsPoint(UnusedTT1C[3], FRAMEPOINT_BOTTOMRIGHT, 0.535280, 0.125170)
call BlzFrameSetText(UnusedTT1C[3], "|cffFFCC00Currently Unused.|r")
call BlzFrameSetEnable(UnusedTT1C[3], false)
call BlzFrameSetScale(UnusedTT1C[3], 1.00)
call BlzFrameSetTextAlignment(UnusedTT1C[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab10C[3], UnusedTT1C[3])

set UnusedTT2C[3] = BlzCreateFrameByType("TEXT", "name", Tab11C[3], "", 0)
call BlzFrameSetAbsPoint(UnusedTT2C[3], FRAMEPOINT_TOPLEFT, 0.416660, 0.144490)
call BlzFrameSetAbsPoint(UnusedTT2C[3], FRAMEPOINT_BOTTOMRIGHT, 0.549230, 0.125170)
call BlzFrameSetText(UnusedTT2C[3], "|cffFFCC00Currently Unused.|r")
call BlzFrameSetEnable(UnusedTT2C[3], false)
call BlzFrameSetScale(UnusedTT2C[3], 1.00)
call BlzFrameSetTextAlignment(UnusedTT2C[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab11C[3], UnusedTT2C[3])

set BiologyTTC[4] = BlzCreateFrameByType("TEXT", "name", Tab1C[4], "", 0)
call BlzFrameSetAbsPoint(BiologyTTC[4], FRAMEPOINT_TOPLEFT, 0.169230, 0.145560)
call BlzFrameSetAbsPoint(BiologyTTC[4], FRAMEPOINT_BOTTOMRIGHT, 0.301800, 0.126240)
call BlzFrameSetText(BiologyTTC[4], "|cffFFCC00Biology School [Num /]|r")
call BlzFrameSetEnable(BiologyTTC[4], false)
call BlzFrameSetScale(BiologyTTC[4], 1.00)
call BlzFrameSetTextAlignment(BiologyTTC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab1C[4], BiologyTTC[4])

set MechanicTTC[4] = BlzCreateFrameByType("TEXT", "name", Tab2C[4], "", 0)
call BlzFrameSetAbsPoint(MechanicTTC[4], FRAMEPOINT_TOPLEFT, 0.183180, 0.145560)
call BlzFrameSetAbsPoint(MechanicTTC[4], FRAMEPOINT_BOTTOMRIGHT, 0.315750, 0.126240)
call BlzFrameSetText(MechanicTTC[4], "|cffFFCC00Mechanic School [Num *]|r")
call BlzFrameSetEnable(MechanicTTC[4], false)
call BlzFrameSetScale(MechanicTTC[4], 1.00)
call BlzFrameSetTextAlignment(MechanicTTC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab2C[4], MechanicTTC[4])

set PoacherTTC[4] = BlzCreateFrameByType("TEXT", "name", Tab3C[4], "", 0)
call BlzFrameSetAbsPoint(PoacherTTC[4], FRAMEPOINT_TOPLEFT, 0.197140, 0.145560)
call BlzFrameSetAbsPoint(PoacherTTC[4], FRAMEPOINT_BOTTOMRIGHT, 0.329710, 0.126240)
call BlzFrameSetText(PoacherTTC[4], "|cffFFCC00Poacher School [Num -]|r")
call BlzFrameSetEnable(PoacherTTC[4], false)
call BlzFrameSetScale(PoacherTTC[4], 1.00)
call BlzFrameSetTextAlignment(PoacherTTC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab3C[4], PoacherTTC[4])

set PhysicsTTC[4] = BlzCreateFrameByType("TEXT", "name", Tab4C[4], "", 0)
call BlzFrameSetAbsPoint(PhysicsTTC[4], FRAMEPOINT_TOPLEFT, 0.211630, 0.145560)
call BlzFrameSetAbsPoint(PhysicsTTC[4], FRAMEPOINT_BOTTOMRIGHT, 0.344200, 0.126240)
call BlzFrameSetText(PhysicsTTC[4], "|cffFFCC00Physics School [Num 9]|r")
call BlzFrameSetEnable(PhysicsTTC[4], false)
call BlzFrameSetScale(PhysicsTTC[4], 1.00)
call BlzFrameSetTextAlignment(PhysicsTTC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab4C[4], PhysicsTTC[4])

set ScienceTTC[4] = BlzCreateFrameByType("TEXT", "name", Tab5C[4], "", 0)
call BlzFrameSetAbsPoint(ScienceTTC[4], FRAMEPOINT_TOPLEFT, 0.226120, 0.145560)
call BlzFrameSetAbsPoint(ScienceTTC[4], FRAMEPOINT_BOTTOMRIGHT, 0.358690, 0.126240)
call BlzFrameSetText(ScienceTTC[4], "|cffFFCC00Science School [Num 6]|r")
call BlzFrameSetEnable(ScienceTTC[4], false)
call BlzFrameSetScale(ScienceTTC[4], 1.00)
call BlzFrameSetTextAlignment(ScienceTTC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab5C[4], ScienceTTC[4])

set AdaptiveTTC[4] = BlzCreateFrameByType("TEXT", "name", Tab6C[4], "", 0)
call BlzFrameSetAbsPoint(AdaptiveTTC[4], FRAMEPOINT_TOPLEFT, 0.240610, 0.145560)
call BlzFrameSetAbsPoint(AdaptiveTTC[4], FRAMEPOINT_BOTTOMRIGHT, 0.373180, 0.126240)
call BlzFrameSetText(AdaptiveTTC[4], "|cffFFCC00Adaptive School [Num 3]|r")
call BlzFrameSetEnable(AdaptiveTTC[4], false)
call BlzFrameSetScale(AdaptiveTTC[4], 1.00)
call BlzFrameSetTextAlignment(AdaptiveTTC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab6C[4], AdaptiveTTC[4])

set CameraTTC[4] = BlzCreateFrameByType("TEXT", "name", Tab7C[4], "", 0)
call BlzFrameSetAbsPoint(CameraTTC[4], FRAMEPOINT_TOPLEFT, 0.361380, 0.144490)
call BlzFrameSetAbsPoint(CameraTTC[4], FRAMEPOINT_BOTTOMRIGHT, 0.493950, 0.125170)
call BlzFrameSetText(CameraTTC[4], "|cffFFCC00[K] Camera Settings|r")
call BlzFrameSetEnable(CameraTTC[4], false)
call BlzFrameSetScale(CameraTTC[4], 1.00)
call BlzFrameSetTextAlignment(CameraTTC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab7C[4], CameraTTC[4])

set CraftTTC[4] = BlzCreateFrameByType("TEXT", "name", Tab8C[4], "", 0)
call BlzFrameSetAbsPoint(CraftTTC[4], FRAMEPOINT_TOPLEFT, 0.374800, 0.144490)
call BlzFrameSetAbsPoint(CraftTTC[4], FRAMEPOINT_BOTTOMRIGHT, 0.507370, 0.125170)
call BlzFrameSetText(CraftTTC[4], "|cffFFCC00[O] Craft System|r")
call BlzFrameSetEnable(CraftTTC[4], false)
call BlzFrameSetScale(CraftTTC[4], 1.00)
call BlzFrameSetTextAlignment(CraftTTC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab8C[4], CraftTTC[4])

set BaPStorageTTC[4] = BlzCreateFrameByType("TEXT", "name", Tab9C[4], "", 0)
call BlzFrameSetAbsPoint(BaPStorageTTC[4], FRAMEPOINT_TOPLEFT, 0.388750, 0.144490)
call BlzFrameSetAbsPoint(BaPStorageTTC[4], FRAMEPOINT_BOTTOMRIGHT, 0.521320, 0.125170)
call BlzFrameSetText(BaPStorageTTC[4], "|cffFFCC00[I] BaP Storage|r")
call BlzFrameSetEnable(BaPStorageTTC[4], false)
call BlzFrameSetScale(BaPStorageTTC[4], 1.00)
call BlzFrameSetTextAlignment(BaPStorageTTC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab9C[4], BaPStorageTTC[4])

set LoyalShopTTC[4] = BlzCreateFrameByType("TEXT", "name", Tab12C[4], "", 0)
call BlzFrameSetAbsPoint(LoyalShopTTC[4], FRAMEPOINT_TOPLEFT, 0.430620, 0.144490)
call BlzFrameSetAbsPoint(LoyalShopTTC[4], FRAMEPOINT_BOTTOMRIGHT, 0.563190, 0.125170)
call BlzFrameSetText(LoyalShopTTC[4], "|cffFFCC00[L] Loyalty Shop|r")
call BlzFrameSetEnable(LoyalShopTTC[4], false)
call BlzFrameSetScale(LoyalShopTTC[4], 1.00)
call BlzFrameSetTextAlignment(LoyalShopTTC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab12C[4], LoyalShopTTC[4])

set UnusedTT1C[4] = BlzCreateFrameByType("TEXT", "name", Tab10C[4], "", 0)
call BlzFrameSetAbsPoint(UnusedTT1C[4], FRAMEPOINT_TOPLEFT, 0.402710, 0.144490)
call BlzFrameSetAbsPoint(UnusedTT1C[4], FRAMEPOINT_BOTTOMRIGHT, 0.535280, 0.125170)
call BlzFrameSetText(UnusedTT1C[4], "|cffFFCC00Currently Unused.|r")
call BlzFrameSetEnable(UnusedTT1C[4], false)
call BlzFrameSetScale(UnusedTT1C[4], 1.00)
call BlzFrameSetTextAlignment(UnusedTT1C[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab10C[4], UnusedTT1C[4])

set UnusedTT2C[4] = BlzCreateFrameByType("TEXT", "name", Tab11C[4], "", 0)
call BlzFrameSetAbsPoint(UnusedTT2C[4], FRAMEPOINT_TOPLEFT, 0.416660, 0.144490)
call BlzFrameSetAbsPoint(UnusedTT2C[4], FRAMEPOINT_BOTTOMRIGHT, 0.549230, 0.125170)
call BlzFrameSetText(UnusedTT2C[4], "|cffFFCC00Currently Unused.|r")
call BlzFrameSetEnable(UnusedTT2C[4], false)
call BlzFrameSetScale(UnusedTT2C[4], 1.00)
call BlzFrameSetTextAlignment(UnusedTT2C[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab11C[4], UnusedTT2C[4])

set BiologyTTC[5] = BlzCreateFrameByType("TEXT", "name", Tab1C[5], "", 0)
call BlzFrameSetAbsPoint(BiologyTTC[5], FRAMEPOINT_TOPLEFT, 0.169230, 0.145560)
call BlzFrameSetAbsPoint(BiologyTTC[5], FRAMEPOINT_BOTTOMRIGHT, 0.301800, 0.126240)
call BlzFrameSetText(BiologyTTC[5], "|cffFFCC00Biology School [Num /]|r")
call BlzFrameSetEnable(BiologyTTC[5], false)
call BlzFrameSetScale(BiologyTTC[5], 1.00)
call BlzFrameSetTextAlignment(BiologyTTC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab1C[5], BiologyTTC[5])

set MechanicTTC[5] = BlzCreateFrameByType("TEXT", "name", Tab2C[5], "", 0)
call BlzFrameSetAbsPoint(MechanicTTC[5], FRAMEPOINT_TOPLEFT, 0.183180, 0.145560)
call BlzFrameSetAbsPoint(MechanicTTC[5], FRAMEPOINT_BOTTOMRIGHT, 0.315750, 0.126240)
call BlzFrameSetText(MechanicTTC[5], "|cffFFCC00Mechanic School [Num *]|r")
call BlzFrameSetEnable(MechanicTTC[5], false)
call BlzFrameSetScale(MechanicTTC[5], 1.00)
call BlzFrameSetTextAlignment(MechanicTTC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab2C[5], MechanicTTC[5])

set PoacherTTC[5] = BlzCreateFrameByType("TEXT", "name", Tab3C[5], "", 0)
call BlzFrameSetAbsPoint(PoacherTTC[5], FRAMEPOINT_TOPLEFT, 0.197140, 0.145560)
call BlzFrameSetAbsPoint(PoacherTTC[5], FRAMEPOINT_BOTTOMRIGHT, 0.329710, 0.126240)
call BlzFrameSetText(PoacherTTC[5], "|cffFFCC00Poacher School [Num -]|r")
call BlzFrameSetEnable(PoacherTTC[5], false)
call BlzFrameSetScale(PoacherTTC[5], 1.00)
call BlzFrameSetTextAlignment(PoacherTTC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab3C[5], PoacherTTC[5])

set PhysicsTTC[5] = BlzCreateFrameByType("TEXT", "name", Tab4C[5], "", 0)
call BlzFrameSetAbsPoint(PhysicsTTC[5], FRAMEPOINT_TOPLEFT, 0.211630, 0.145560)
call BlzFrameSetAbsPoint(PhysicsTTC[5], FRAMEPOINT_BOTTOMRIGHT, 0.344200, 0.126240)
call BlzFrameSetText(PhysicsTTC[5], "|cffFFCC00Physics School [Num 9]|r")
call BlzFrameSetEnable(PhysicsTTC[5], false)
call BlzFrameSetScale(PhysicsTTC[5], 1.00)
call BlzFrameSetTextAlignment(PhysicsTTC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab4C[5], PhysicsTTC[5])

set ScienceTTC[5] = BlzCreateFrameByType("TEXT", "name", Tab5C[5], "", 0)
call BlzFrameSetAbsPoint(ScienceTTC[5], FRAMEPOINT_TOPLEFT, 0.226120, 0.145560)
call BlzFrameSetAbsPoint(ScienceTTC[5], FRAMEPOINT_BOTTOMRIGHT, 0.358690, 0.126240)
call BlzFrameSetText(ScienceTTC[5], "|cffFFCC00Science School [Num 6]|r")
call BlzFrameSetEnable(ScienceTTC[5], false)
call BlzFrameSetScale(ScienceTTC[5], 1.00)
call BlzFrameSetTextAlignment(ScienceTTC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab5C[5], ScienceTTC[5])

set AdaptiveTTC[5] = BlzCreateFrameByType("TEXT", "name", Tab6C[5], "", 0)
call BlzFrameSetAbsPoint(AdaptiveTTC[5], FRAMEPOINT_TOPLEFT, 0.240610, 0.145560)
call BlzFrameSetAbsPoint(AdaptiveTTC[5], FRAMEPOINT_BOTTOMRIGHT, 0.373180, 0.126240)
call BlzFrameSetText(AdaptiveTTC[5], "|cffFFCC00Adaptive School [Num 3]|r")
call BlzFrameSetEnable(AdaptiveTTC[5], false)
call BlzFrameSetScale(AdaptiveTTC[5], 1.00)
call BlzFrameSetTextAlignment(AdaptiveTTC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab6C[5], AdaptiveTTC[5])

set CameraTTC[5] = BlzCreateFrameByType("TEXT", "name", Tab7C[5], "", 0)
call BlzFrameSetAbsPoint(CameraTTC[5], FRAMEPOINT_TOPLEFT, 0.361380, 0.144490)
call BlzFrameSetAbsPoint(CameraTTC[5], FRAMEPOINT_BOTTOMRIGHT, 0.493950, 0.125170)
call BlzFrameSetText(CameraTTC[5], "|cffFFCC00[K] Camera Settings|r")
call BlzFrameSetEnable(CameraTTC[5], false)
call BlzFrameSetScale(CameraTTC[5], 1.00)
call BlzFrameSetTextAlignment(CameraTTC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab7C[5], CameraTTC[5])

set CraftTTC[5] = BlzCreateFrameByType("TEXT", "name", Tab8C[5], "", 0)
call BlzFrameSetAbsPoint(CraftTTC[5], FRAMEPOINT_TOPLEFT, 0.374800, 0.144490)
call BlzFrameSetAbsPoint(CraftTTC[5], FRAMEPOINT_BOTTOMRIGHT, 0.507370, 0.125170)
call BlzFrameSetText(CraftTTC[5], "|cffFFCC00[O] Craft System|r")
call BlzFrameSetEnable(CraftTTC[5], false)
call BlzFrameSetScale(CraftTTC[5], 1.00)
call BlzFrameSetTextAlignment(CraftTTC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab8C[5], CraftTTC[5])

set BaPStorageTTC[5] = BlzCreateFrameByType("TEXT", "name", Tab9C[5], "", 0)
call BlzFrameSetAbsPoint(BaPStorageTTC[5], FRAMEPOINT_TOPLEFT, 0.388750, 0.144490)
call BlzFrameSetAbsPoint(BaPStorageTTC[5], FRAMEPOINT_BOTTOMRIGHT, 0.521320, 0.125170)
call BlzFrameSetText(BaPStorageTTC[5], "|cffFFCC00[I] BaP Storage|r")
call BlzFrameSetEnable(BaPStorageTTC[5], false)
call BlzFrameSetScale(BaPStorageTTC[5], 1.00)
call BlzFrameSetTextAlignment(BaPStorageTTC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab9C[5], BaPStorageTTC[5])

set LoyalShopTTC[5] = BlzCreateFrameByType("TEXT", "name", Tab12C[5], "", 0)
call BlzFrameSetAbsPoint(LoyalShopTTC[5], FRAMEPOINT_TOPLEFT, 0.430620, 0.144490)
call BlzFrameSetAbsPoint(LoyalShopTTC[5], FRAMEPOINT_BOTTOMRIGHT, 0.563190, 0.125170)
call BlzFrameSetText(LoyalShopTTC[5], "|cffFFCC00[L] Loyalty Shop|r")
call BlzFrameSetEnable(LoyalShopTTC[5], false)
call BlzFrameSetScale(LoyalShopTTC[5], 1.00)
call BlzFrameSetTextAlignment(LoyalShopTTC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab12C[5], LoyalShopTTC[5])

set UnusedTT1C[5] = BlzCreateFrameByType("TEXT", "name", Tab10C[5], "", 0)
call BlzFrameSetAbsPoint(UnusedTT1C[5], FRAMEPOINT_TOPLEFT, 0.402710, 0.144490)
call BlzFrameSetAbsPoint(UnusedTT1C[5], FRAMEPOINT_BOTTOMRIGHT, 0.535280, 0.125170)
call BlzFrameSetText(UnusedTT1C[5], "|cffFFCC00Currently Unused.|r")
call BlzFrameSetEnable(UnusedTT1C[5], false)
call BlzFrameSetScale(UnusedTT1C[5], 1.00)
call BlzFrameSetTextAlignment(UnusedTT1C[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab10C[5], UnusedTT1C[5])

set UnusedTT2C[5] = BlzCreateFrameByType("TEXT", "name", Tab11C[5], "", 0)
call BlzFrameSetAbsPoint(UnusedTT2C[5], FRAMEPOINT_TOPLEFT, 0.416660, 0.144490)
call BlzFrameSetAbsPoint(UnusedTT2C[5], FRAMEPOINT_BOTTOMRIGHT, 0.549230, 0.125170)
call BlzFrameSetText(UnusedTT2C[5], "|cffFFCC00Currently Unused.|r")
call BlzFrameSetEnable(UnusedTT2C[5], false)
call BlzFrameSetScale(UnusedTT2C[5], 1.00)
call BlzFrameSetTextAlignment(UnusedTT2C[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab11C[5], UnusedTT2C[5])

set BiologyTTC[6] = BlzCreateFrameByType("TEXT", "name", Tab1C[6], "", 0)
call BlzFrameSetAbsPoint(BiologyTTC[6], FRAMEPOINT_TOPLEFT, 0.169230, 0.145560)
call BlzFrameSetAbsPoint(BiologyTTC[6], FRAMEPOINT_BOTTOMRIGHT, 0.301800, 0.126240)
call BlzFrameSetText(BiologyTTC[6], "|cffFFCC00Biology School [Num /]|r")
call BlzFrameSetEnable(BiologyTTC[6], false)
call BlzFrameSetScale(BiologyTTC[6], 1.00)
call BlzFrameSetTextAlignment(BiologyTTC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab1C[6], BiologyTTC[6])

set MechanicTTC[6] = BlzCreateFrameByType("TEXT", "name", Tab2C[6], "", 0)
call BlzFrameSetAbsPoint(MechanicTTC[6], FRAMEPOINT_TOPLEFT, 0.183180, 0.145560)
call BlzFrameSetAbsPoint(MechanicTTC[6], FRAMEPOINT_BOTTOMRIGHT, 0.315750, 0.126240)
call BlzFrameSetText(MechanicTTC[6], "|cffFFCC00Mechanic School [Num *]|r")
call BlzFrameSetEnable(MechanicTTC[6], false)
call BlzFrameSetScale(MechanicTTC[6], 1.00)
call BlzFrameSetTextAlignment(MechanicTTC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab2C[6], MechanicTTC[6])

set PoacherTTC[6] = BlzCreateFrameByType("TEXT", "name", Tab3C[6], "", 0)
call BlzFrameSetAbsPoint(PoacherTTC[6], FRAMEPOINT_TOPLEFT, 0.197140, 0.145560)
call BlzFrameSetAbsPoint(PoacherTTC[6], FRAMEPOINT_BOTTOMRIGHT, 0.329710, 0.126240)
call BlzFrameSetText(PoacherTTC[6], "|cffFFCC00Poacher School [Num -]|r")
call BlzFrameSetEnable(PoacherTTC[6], false)
call BlzFrameSetScale(PoacherTTC[6], 1.00)
call BlzFrameSetTextAlignment(PoacherTTC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab3C[6], PoacherTTC[6])

set PhysicsTTC[6] = BlzCreateFrameByType("TEXT", "name", Tab4C[6], "", 0)
call BlzFrameSetAbsPoint(PhysicsTTC[6], FRAMEPOINT_TOPLEFT, 0.211630, 0.145560)
call BlzFrameSetAbsPoint(PhysicsTTC[6], FRAMEPOINT_BOTTOMRIGHT, 0.344200, 0.126240)
call BlzFrameSetText(PhysicsTTC[6], "|cffFFCC00Physics School [Num 9]|r")
call BlzFrameSetEnable(PhysicsTTC[6], false)
call BlzFrameSetScale(PhysicsTTC[6], 1.00)
call BlzFrameSetTextAlignment(PhysicsTTC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab4C[6], PhysicsTTC[6])

set ScienceTTC[6] = BlzCreateFrameByType("TEXT", "name", Tab5C[6], "", 0)
call BlzFrameSetAbsPoint(ScienceTTC[6], FRAMEPOINT_TOPLEFT, 0.226120, 0.145560)
call BlzFrameSetAbsPoint(ScienceTTC[6], FRAMEPOINT_BOTTOMRIGHT, 0.358690, 0.126240)
call BlzFrameSetText(ScienceTTC[6], "|cffFFCC00Science School [Num 6]|r")
call BlzFrameSetEnable(ScienceTTC[6], false)
call BlzFrameSetScale(ScienceTTC[6], 1.00)
call BlzFrameSetTextAlignment(ScienceTTC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab5C[6], ScienceTTC[6])

set AdaptiveTTC[6] = BlzCreateFrameByType("TEXT", "name", Tab6C[6], "", 0)
call BlzFrameSetAbsPoint(AdaptiveTTC[6], FRAMEPOINT_TOPLEFT, 0.240610, 0.145560)
call BlzFrameSetAbsPoint(AdaptiveTTC[6], FRAMEPOINT_BOTTOMRIGHT, 0.373180, 0.126240)
call BlzFrameSetText(AdaptiveTTC[6], "|cffFFCC00Adaptive School [Num 3]|r")
call BlzFrameSetEnable(AdaptiveTTC[6], false)
call BlzFrameSetScale(AdaptiveTTC[6], 1.00)
call BlzFrameSetTextAlignment(AdaptiveTTC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab6C[6], AdaptiveTTC[6])

set CameraTTC[6] = BlzCreateFrameByType("TEXT", "name", Tab7C[6], "", 0)
call BlzFrameSetAbsPoint(CameraTTC[6], FRAMEPOINT_TOPLEFT, 0.361380, 0.144490)
call BlzFrameSetAbsPoint(CameraTTC[6], FRAMEPOINT_BOTTOMRIGHT, 0.493950, 0.125170)
call BlzFrameSetText(CameraTTC[6], "|cffFFCC00[K] Camera Settings|r")
call BlzFrameSetEnable(CameraTTC[6], false)
call BlzFrameSetScale(CameraTTC[6], 1.00)
call BlzFrameSetTextAlignment(CameraTTC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab7C[6], CameraTTC[6])

set CraftTTC[6] = BlzCreateFrameByType("TEXT", "name", Tab8C[6], "", 0)
call BlzFrameSetAbsPoint(CraftTTC[6], FRAMEPOINT_TOPLEFT, 0.374800, 0.144490)
call BlzFrameSetAbsPoint(CraftTTC[6], FRAMEPOINT_BOTTOMRIGHT, 0.507370, 0.125170)
call BlzFrameSetText(CraftTTC[6], "|cffFFCC00[O] Craft System|r")
call BlzFrameSetEnable(CraftTTC[6], false)
call BlzFrameSetScale(CraftTTC[6], 1.00)
call BlzFrameSetTextAlignment(CraftTTC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab8C[6], CraftTTC[6])

set BaPStorageTTC[6] = BlzCreateFrameByType("TEXT", "name", Tab9C[6], "", 0)
call BlzFrameSetAbsPoint(BaPStorageTTC[6], FRAMEPOINT_TOPLEFT, 0.388750, 0.144490)
call BlzFrameSetAbsPoint(BaPStorageTTC[6], FRAMEPOINT_BOTTOMRIGHT, 0.521320, 0.125170)
call BlzFrameSetText(BaPStorageTTC[6], "|cffFFCC00[I] BaP Storage|r")
call BlzFrameSetEnable(BaPStorageTTC[6], false)
call BlzFrameSetScale(BaPStorageTTC[6], 1.00)
call BlzFrameSetTextAlignment(BaPStorageTTC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab9C[6], BaPStorageTTC[6])

set LoyalShopTTC[6] = BlzCreateFrameByType("TEXT", "name", Tab12C[6], "", 0)
call BlzFrameSetAbsPoint(LoyalShopTTC[6], FRAMEPOINT_TOPLEFT, 0.430620, 0.144490)
call BlzFrameSetAbsPoint(LoyalShopTTC[6], FRAMEPOINT_BOTTOMRIGHT, 0.563190, 0.125170)
call BlzFrameSetText(LoyalShopTTC[6], "|cffFFCC00[L] Loyalty Shop|r")
call BlzFrameSetEnable(LoyalShopTTC[6], false)
call BlzFrameSetScale(LoyalShopTTC[6], 1.00)
call BlzFrameSetTextAlignment(LoyalShopTTC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab12C[6], LoyalShopTTC[6])

set UnusedTT1C[6] = BlzCreateFrameByType("TEXT", "name", Tab10C[6], "", 0)
call BlzFrameSetAbsPoint(UnusedTT1C[6], FRAMEPOINT_TOPLEFT, 0.402710, 0.144490)
call BlzFrameSetAbsPoint(UnusedTT1C[6], FRAMEPOINT_BOTTOMRIGHT, 0.535280, 0.125170)
call BlzFrameSetText(UnusedTT1C[6], "|cffFFCC00Currently Unused.|r")
call BlzFrameSetEnable(UnusedTT1C[6], false)
call BlzFrameSetScale(UnusedTT1C[6], 1.00)
call BlzFrameSetTextAlignment(UnusedTT1C[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab10C[6], UnusedTT1C[6])

set UnusedTT2C[6] = BlzCreateFrameByType("TEXT", "name", Tab11C[6], "", 0)
call BlzFrameSetAbsPoint(UnusedTT2C[6], FRAMEPOINT_TOPLEFT, 0.416660, 0.144490)
call BlzFrameSetAbsPoint(UnusedTT2C[6], FRAMEPOINT_BOTTOMRIGHT, 0.549230, 0.125170)
call BlzFrameSetText(UnusedTT2C[6], "|cffFFCC00Currently Unused.|r")
call BlzFrameSetEnable(UnusedTT2C[6], false)
call BlzFrameSetScale(UnusedTT2C[6], 1.00)
call BlzFrameSetTextAlignment(UnusedTT2C[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
call BlzFrameSetTooltip(Tab11C[6], UnusedTT2C[6])
endfunction
endlibrary

  • SetUpMap
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Custom script: call BlzFrameSetAllPoints(BlzGetOriginFrame(ORIGIN_FRAME_WORLD_FRAME, 0), BlzGetOriginFrame(ORIGIN_FRAME_GAME_UI, 0))
      • Custom script: call UIUtils.FullScreenMode(true, true)
      • Custom script: call BlzFrameSetVisible(frameMinimap, false)
      • Countdown Timer - Start UITimer as a One-shot timer that will expire in 1.00 seconds
      • Custom script: call BlzFrameSetParent(BlzFrameGetParent(BlzGetOriginFrame(ORIGIN_FRAME_ITEM_BUTTON, 0)), BlzGetFrameByName("ConsoleUI", 0))
      • -------- HideUI --------
      • Custom script: call BlzFrameSetVisible(CustomUIBDC[00], false)
      • Custom script: call BlzFrameSetVisible(CustomUIBDC[01], false)
      • Custom script: call BlzFrameSetVisible(CustomUIBDC[02], false)
      • Custom script: call BlzFrameSetVisible(CustomUIBDC[03], false)
      • Custom script: call BlzFrameSetVisible(CustomUIBDC[04], false)
      • Custom script: call BlzFrameSetVisible(CustomUIBDC[05], false)
      • Custom script: call BlzFrameSetVisible(CustomUIBDC[06], false)
      • Custom script: call BlzFrameSetVisible(MapBD, false)
      • -------- ShowUI --------
      • Set VariableSet UIPlayer = Player 1 (Red)
      • Custom script: if (GetLocalPlayer() == udg_UIPlayer) then
      • Custom script: call BlzFrameSetVisible(CustomUIBDC[00], true)
      • Custom script: endif
      • Set VariableSet UIPlayer = Player 2 (Blue)
      • Custom script: if (GetLocalPlayer() == udg_UIPlayer) then
      • Custom script: call BlzFrameSetVisible(CustomUIBDC[01], true)
      • Custom script: endif
      • Set VariableSet UIPlayer = Player 3 (Teal)
      • Custom script: if (GetLocalPlayer() == udg_UIPlayer) then
      • Custom script: call BlzFrameSetVisible(CustomUIBDC[02], true)
      • Custom script: endif
      • Set VariableSet UIPlayer = Player 4 (Purple)
      • Custom script: if (GetLocalPlayer() == udg_UIPlayer) then
      • Custom script: call BlzFrameSetVisible(CustomUIBDC[03], true)
      • Custom script: endif
      • Set VariableSet UIPlayer = Player 5 (Yellow)
      • Custom script: if (GetLocalPlayer() == udg_UIPlayer) then
      • Custom script: call BlzFrameSetVisible(CustomUIBDC[04], true)
      • Custom script: endif
      • Set VariableSet UIPlayer = Player 6 (Orange)
      • Custom script: if (GetLocalPlayer() == udg_UIPlayer) then
      • Custom script: call BlzFrameSetVisible(CustomUIBDC[05], true)
      • Custom script: endif
      • Set VariableSet UIPlayer = Player 7 (Green)
      • Custom script: if (GetLocalPlayer() == udg_UIPlayer) then
      • Custom script: call BlzFrameSetVisible(CustomUIBDC[06], true)
      • Custom script: endif
Updates Stats - Works

  • StatsUpGUI
    • Events
      • Time - UITimer expires
    • Conditions
    • Actions
      • Countdown Timer - Start UITimer as a One-shot timer that will expire in 0.50 seconds
      • For each (Integer A) from 1 to 7, do (Actions)
        • Loop - Actions
          • -------- FriendlyHP --------
          • Set VariableSet UICurrentHP[(Integer A)] = (Integer((Life of FriendlySet[(Integer A)])))
          • Set VariableSet UIMaxHP[(Integer A)] = (Integer((Max life of FriendlySet[(Integer A)])))
          • Set VariableSet CustomString = (|cffff0000 + ((String(UICurrentHP[(Integer A)])) + (|r/|cffff0000 + ((String(UIMaxHP[(Integer A)])) + |r))))
          • Custom script: call BlzFrameSetText(PlayerHPC[bj_forLoopAIndex - 1], udg_CustomString)
          • -------- EnemyHP --------
          • Set VariableSet UICurrentHP[(Integer A)] = (Integer((Life of EnemySet[(Integer A)])))
          • Set VariableSet UIMaxHP[(Integer A)] = (Integer((Max life of EnemySet[(Integer A)])))
          • Set VariableSet CustomString = (|cff800080 + ((String(UICurrentHP[(Integer A)])) + (|r/|cff800080 + ((String(UIMaxHP[(Integer A)])) + |r))))
          • Custom script: call BlzFrameSetText(TargetHPC[bj_forLoopAIndex - 1], udg_CustomString)
          • -------- FriendlyMP --------
          • Set VariableSet UICurrentMana[(Integer A)] = (Integer((Mana of FriendlySet[(Integer A)])))
          • Set VariableSet UIMaxMana[(Integer A)] = (Integer((Max mana of FriendlySet[(Integer A)])))
          • Set VariableSet CustomString = (|cff0000ff + ((String(UICurrentMana[(Integer A)])) + (|r/|cff0000ff + ((String(UIMaxMana[(Integer A)])) + |r))))
          • Custom script: call BlzFrameSetText(PlayerMPC[bj_forLoopAIndex - 1], udg_CustomString)
          • -------- EnemyMP --------
          • Set VariableSet UICurrentMana[(Integer A)] = (Integer((Mana of EnemySet[(Integer A)])))
          • Set VariableSet UIMaxMana[(Integer A)] = (Integer((Max mana of EnemySet[(Integer A)])))
          • Set VariableSet CustomString = (|cff008080 + ((String(UICurrentMana[(Integer A)])) + (|r/|cff008080 + ((String(UIMaxMana[(Integer A)])) + |r))))
          • Custom script: call BlzFrameSetText(TargetMPC[bj_forLoopAIndex - 1], udg_CustomString)
          • -------- Gold --------
          • Set VariableSet UIGold[(Integer A)] = ((Player((Integer A))) Current gold)
          • Set VariableSet CustomString = (|cff808000 + ((String(UIGold[(Integer A)])) + |r))
          • Custom script: call BlzFrameSetText(GoldInfoC[bj_forLoopAIndex - 1], udg_CustomString)
          • -------- Lumber --------
          • Set VariableSet UIWood[(Integer A)] = ((Player((Integer A))) Current lumber)
          • Set VariableSet CustomString = (|cff008000 + ((String(UIWood[(Integer A)])) + |r))
          • Custom script: call BlzFrameSetText(LumberInfoCopyC[bj_forLoopAIndex - 1], udg_CustomString)
          • -------- Power --------
          • Set VariableSet UICurrentPower[(Integer A)] = ((Player((Integer A))) Food used)
          • Set VariableSet UIMaxPower[(Integer A)] = ((Player((Integer A))) Food cap)
          • Set VariableSet CustomString = (|cff008080 + ((String(UICurrentPower[(Integer A)])) + (|r/|cff008080 + ((String(UIMaxPower[(Integer A)])) + |r))))
          • Custom script: call BlzFrameSetText(PowerInfoC[bj_forLoopAIndex - 1], udg_CustomString)
SetUnit for Stats - Works

  • SetUnit
    • Events
      • Player - Player 1 (Red) Selects a unit
      • Player - Player 2 (Blue) Selects a unit
      • Player - Player 3 (Teal) Selects a unit
      • Player - Player 4 (Purple) Selects a unit
      • Player - Player 5 (Yellow) Selects a unit
      • Player - Player 6 (Orange) Selects a unit
      • Player - Player 7 (Green) Selects a unit
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Owner of (Triggering unit)) is an ally of (Triggering player).) Equal to True
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Triggering player) Equal to Player 1 (Red)
            • Then - Actions
              • Set VariableSet FriendlySet[(Player number of (Triggering player))] = (Triggering unit)
              • Set VariableSet UICurrentHP[(Player number of (Triggering player))] = (Integer((Life of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet UIMaxHP[(Player number of (Triggering player))] = (Integer((Max life of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet CustomString = (|cffff0000 + ((String(UICurrentHP[(Player number of (Triggering player))])) + (|r/|cffff0000 + ((String(UIMaxHP[(Player number of (Triggering player))])) + |r))))
              • Custom script: call BlzFrameSetText(PlayerHPC[00], udg_CustomString)
              • Set VariableSet UICurrentMana[(Player number of (Triggering player))] = (Integer((Mana of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet UIMaxMana[(Player number of (Triggering player))] = (Integer((Max mana of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet CustomString = (|cff0000ff + ((String(UICurrentMana[(Player number of (Triggering player))])) + (|r/|cff0000ff + ((String(UIMaxMana[(Player number of (Triggering player))])) + |r))))
              • Custom script: call BlzFrameSetText(PlayerMPC[00], udg_CustomString)
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Triggering player) Equal to Player 2 (Blue)
            • Then - Actions
              • Set VariableSet FriendlySet[(Player number of (Triggering player))] = (Triggering unit)
              • Set VariableSet UICurrentHP[(Player number of (Triggering player))] = (Integer((Life of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet UIMaxHP[(Player number of (Triggering player))] = (Integer((Max life of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet CustomString = (|cffff0000 + ((String(UICurrentHP[(Player number of (Triggering player))])) + (|r/|cffff0000 + ((String(UIMaxHP[(Player number of (Triggering player))])) + |r))))
              • Custom script: call BlzFrameSetText(PlayerHPC[01], udg_CustomString)
              • Set VariableSet UICurrentMana[(Player number of (Triggering player))] = (Integer((Mana of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet UIMaxMana[(Player number of (Triggering player))] = (Integer((Max mana of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet CustomString = (|cff0000ff + ((String(UICurrentMana[(Player number of (Triggering player))])) + (|r/|cff0000ff + ((String(UIMaxMana[(Player number of (Triggering player))])) + |r))))
              • Custom script: call BlzFrameSetText(PlayerMPC[01], udg_CustomString)
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Triggering player) Equal to Player 3 (Teal)
            • Then - Actions
              • Set VariableSet FriendlySet[(Player number of (Triggering player))] = (Triggering unit)
              • Set VariableSet UICurrentHP[(Player number of (Triggering player))] = (Integer((Life of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet UIMaxHP[(Player number of (Triggering player))] = (Integer((Max life of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet CustomString = (|cffff0000 + ((String(UICurrentHP[(Player number of (Triggering player))])) + (|r/|cffff0000 + ((String(UIMaxHP[(Player number of (Triggering player))])) + |r))))
              • Custom script: call BlzFrameSetText(PlayerHPC[02], udg_CustomString)
              • Set VariableSet UICurrentMana[(Player number of (Triggering player))] = (Integer((Mana of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet UIMaxMana[(Player number of (Triggering player))] = (Integer((Max mana of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet CustomString = (|cff0000ff + ((String(UICurrentMana[(Player number of (Triggering player))])) + (|r/|cff0000ff + ((String(UIMaxMana[(Player number of (Triggering player))])) + |r))))
              • Custom script: call BlzFrameSetText(PlayerMPC[02], udg_CustomString)
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Triggering player) Equal to Player 4 (Purple)
            • Then - Actions
              • Set VariableSet FriendlySet[(Player number of (Triggering player))] = (Triggering unit)
              • Set VariableSet UICurrentHP[(Player number of (Triggering player))] = (Integer((Life of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet UIMaxHP[(Player number of (Triggering player))] = (Integer((Max life of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet CustomString = (|cffff0000 + ((String(UICurrentHP[(Player number of (Triggering player))])) + (|r/|cffff0000 + ((String(UIMaxHP[(Player number of (Triggering player))])) + |r))))
              • Custom script: call BlzFrameSetText(PlayerHPC[03], udg_CustomString)
              • Set VariableSet UICurrentMana[(Player number of (Triggering player))] = (Integer((Mana of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet UIMaxMana[(Player number of (Triggering player))] = (Integer((Max mana of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet CustomString = (|cff0000ff + ((String(UICurrentMana[(Player number of (Triggering player))])) + (|r/|cff0000ff + ((String(UIMaxMana[(Player number of (Triggering player))])) + |r))))
              • Custom script: call BlzFrameSetText(PlayerMPC[03], udg_CustomString)
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Triggering player) Equal to Player 5 (Yellow)
            • Then - Actions
              • Set VariableSet FriendlySet[(Player number of (Triggering player))] = (Triggering unit)
              • Set VariableSet UICurrentHP[(Player number of (Triggering player))] = (Integer((Life of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet UIMaxHP[(Player number of (Triggering player))] = (Integer((Max life of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet CustomString = (|cffff0000 + ((String(UICurrentHP[(Player number of (Triggering player))])) + (|r/|cffff0000 + ((String(UIMaxHP[(Player number of (Triggering player))])) + |r))))
              • Custom script: call BlzFrameSetText(PlayerHPC[04], udg_CustomString)
              • Set VariableSet UICurrentMana[(Player number of (Triggering player))] = (Integer((Mana of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet UIMaxMana[(Player number of (Triggering player))] = (Integer((Max mana of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet CustomString = (|cff0000ff + ((String(UICurrentMana[(Player number of (Triggering player))])) + (|r/|cff0000ff + ((String(UIMaxMana[(Player number of (Triggering player))])) + |r))))
              • Custom script: call BlzFrameSetText(PlayerMPC[04], udg_CustomString)
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Triggering player) Equal to Player 6 (Orange)
            • Then - Actions
              • Set VariableSet FriendlySet[(Player number of (Triggering player))] = (Triggering unit)
              • Set VariableSet UICurrentHP[(Player number of (Triggering player))] = (Integer((Life of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet UIMaxHP[(Player number of (Triggering player))] = (Integer((Max life of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet CustomString = (|cffff0000 + ((String(UICurrentHP[(Player number of (Triggering player))])) + (|r/|cffff0000 + ((String(UIMaxHP[(Player number of (Triggering player))])) + |r))))
              • Custom script: call BlzFrameSetText(PlayerHPC[05], udg_CustomString)
              • Set VariableSet UICurrentMana[(Player number of (Triggering player))] = (Integer((Mana of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet UIMaxMana[(Player number of (Triggering player))] = (Integer((Max mana of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet CustomString = (|cff0000ff + ((String(UICurrentMana[(Player number of (Triggering player))])) + (|r/|cff0000ff + ((String(UIMaxMana[(Player number of (Triggering player))])) + |r))))
              • Custom script: call BlzFrameSetText(PlayerMPC[05], udg_CustomString)
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Triggering player) Equal to Player 7 (Green)
            • Then - Actions
              • Set VariableSet FriendlySet[(Player number of (Triggering player))] = (Triggering unit)
              • Set VariableSet UICurrentHP[(Player number of (Triggering player))] = (Integer((Life of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet UIMaxHP[(Player number of (Triggering player))] = (Integer((Max life of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet CustomString = (|cffff0000 + ((String(UICurrentHP[(Player number of (Triggering player))])) + (|r/|cffff0000 + ((String(UIMaxHP[(Player number of (Triggering player))])) + |r))))
              • Custom script: call BlzFrameSetText(PlayerHPC[06], udg_CustomString)
              • Set VariableSet UICurrentMana[(Player number of (Triggering player))] = (Integer((Mana of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet UIMaxMana[(Player number of (Triggering player))] = (Integer((Max mana of FriendlySet[(Player number of (Triggering player))])))
              • Set VariableSet CustomString = (|cff0000ff + ((String(UICurrentMana[(Player number of (Triggering player))])) + (|r/|cff0000ff + ((String(UIMaxMana[(Player number of (Triggering player))])) + |r))))
              • Custom script: call BlzFrameSetText(PlayerMPC[06], udg_CustomString)
            • Else - Actions
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Owner of (Triggering unit)) is an ally of (Triggering player).) Not equal to True
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Triggering player) Equal to Player 1 (Red)
                • Then - Actions
                  • Set VariableSet EnemySet[(Player number of (Triggering player))] = (Triggering unit)
                  • Set VariableSet UICurrentHP[(Player number of (Triggering player))] = (Integer((Life of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet UIMaxHP[(Player number of (Triggering player))] = (Integer((Max life of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet CustomString = (|cff800080 + ((String(UICurrentHP[(Player number of (Triggering player))])) + (|r/|cff800080 + ((String(UIMaxHP[(Player number of (Triggering player))])) + |r))))
                  • Custom script: call BlzFrameSetText(TargetHPC[00], udg_CustomString)
                  • Set VariableSet UICurrentMana[(Player number of (Triggering player))] = (Integer((Mana of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet UIMaxMana[(Player number of (Triggering player))] = (Integer((Max mana of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet CustomString = (|cff008080 + ((String(UICurrentMana[(Player number of (Triggering player))])) + (|r/|cff008080 + ((String(UIMaxMana[(Player number of (Triggering player))])) + |r))))
                  • Custom script: call BlzFrameSetText(TargetMPC[00], udg_CustomString)
                • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Triggering player) Equal to Player 2 (Blue)
                • Then - Actions
                  • Set VariableSet EnemySet[(Player number of (Triggering player))] = (Triggering unit)
                  • Set VariableSet UICurrentHP[(Player number of (Triggering player))] = (Integer((Life of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet UIMaxHP[(Player number of (Triggering player))] = (Integer((Max life of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet CustomString = (|cff800080 + ((String(UICurrentHP[(Player number of (Triggering player))])) + (|r/|cff800080 + ((String(UIMaxHP[(Player number of (Triggering player))])) + |r))))
                  • Custom script: call BlzFrameSetText(TargetHPC[01], udg_CustomString)
                  • Set VariableSet UICurrentMana[(Player number of (Triggering player))] = (Integer((Mana of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet UIMaxMana[(Player number of (Triggering player))] = (Integer((Max mana of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet CustomString = (|cff008080 + ((String(UICurrentMana[(Player number of (Triggering player))])) + (|r/|cff008080 + ((String(UIMaxMana[(Player number of (Triggering player))])) + |r))))
                  • Custom script: call BlzFrameSetText(TargetMPC[01], udg_CustomString)
                • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Triggering player) Equal to Player 3 (Teal)
                • Then - Actions
                  • Set VariableSet EnemySet[(Player number of (Triggering player))] = (Triggering unit)
                  • Set VariableSet UICurrentHP[(Player number of (Triggering player))] = (Integer((Life of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet UIMaxHP[(Player number of (Triggering player))] = (Integer((Max life of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet CustomString = (|cff800080 + ((String(UICurrentHP[(Player number of (Triggering player))])) + (|r/|cff800080 + ((String(UIMaxHP[(Player number of (Triggering player))])) + |r))))
                  • Custom script: call BlzFrameSetText(TargetHPC[02], udg_CustomString)
                  • Set VariableSet UICurrentMana[(Player number of (Triggering player))] = (Integer((Mana of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet UIMaxMana[(Player number of (Triggering player))] = (Integer((Max mana of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet CustomString = (|cff008080 + ((String(UICurrentMana[(Player number of (Triggering player))])) + (|r/|cff008080 + ((String(UIMaxMana[(Player number of (Triggering player))])) + |r))))
                  • Custom script: call BlzFrameSetText(TargetMPC[02], udg_CustomString)
                • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Triggering player) Equal to Player 4 (Purple)
                • Then - Actions
                  • Set VariableSet EnemySet[(Player number of (Triggering player))] = (Triggering unit)
                  • Set VariableSet UICurrentHP[(Player number of (Triggering player))] = (Integer((Life of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet UIMaxHP[(Player number of (Triggering player))] = (Integer((Max life of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet CustomString = (|cff800080 + ((String(UICurrentHP[(Player number of (Triggering player))])) + (|r/|cff800080 + ((String(UIMaxHP[(Player number of (Triggering player))])) + |r))))
                  • Custom script: call BlzFrameSetText(TargetHPC[03], udg_CustomString)
                  • Set VariableSet UICurrentMana[(Player number of (Triggering player))] = (Integer((Mana of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet UIMaxMana[(Player number of (Triggering player))] = (Integer((Max mana of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet CustomString = (|cff008080 + ((String(UICurrentMana[(Player number of (Triggering player))])) + (|r/|cff008080 + ((String(UIMaxMana[(Player number of (Triggering player))])) + |r))))
                  • Custom script: call BlzFrameSetText(TargetMPC[03], udg_CustomString)
                • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Triggering player) Equal to Player 5 (Yellow)
                • Then - Actions
                  • Set VariableSet EnemySet[(Player number of (Triggering player))] = (Triggering unit)
                  • Set VariableSet UICurrentHP[(Player number of (Triggering player))] = (Integer((Life of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet UIMaxHP[(Player number of (Triggering player))] = (Integer((Max life of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet CustomString = (|cff800080 + ((String(UICurrentHP[(Player number of (Triggering player))])) + (|r/|cff800080 + ((String(UIMaxHP[(Player number of (Triggering player))])) + |r))))
                  • Custom script: call BlzFrameSetText(TargetHPC[04], udg_CustomString)
                  • Set VariableSet UICurrentMana[(Player number of (Triggering player))] = (Integer((Mana of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet UIMaxMana[(Player number of (Triggering player))] = (Integer((Max mana of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet CustomString = (|cff008080 + ((String(UICurrentMana[(Player number of (Triggering player))])) + (|r/|cff008080 + ((String(UIMaxMana[(Player number of (Triggering player))])) + |r))))
                  • Custom script: call BlzFrameSetText(TargetMPC[04], udg_CustomString)
                • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Triggering player) Equal to Player 6 (Orange)
                • Then - Actions
                  • Set VariableSet EnemySet[(Player number of (Triggering player))] = (Triggering unit)
                  • Set VariableSet UICurrentHP[(Player number of (Triggering player))] = (Integer((Life of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet UIMaxHP[(Player number of (Triggering player))] = (Integer((Max life of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet CustomString = (|cff800080 + ((String(UICurrentHP[(Player number of (Triggering player))])) + (|r/|cff800080 + ((String(UIMaxHP[(Player number of (Triggering player))])) + |r))))
                  • Custom script: call BlzFrameSetText(TargetHPC[05], udg_CustomString)
                  • Set VariableSet UICurrentMana[(Player number of (Triggering player))] = (Integer((Mana of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet UIMaxMana[(Player number of (Triggering player))] = (Integer((Max mana of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet CustomString = (|cff008080 + ((String(UICurrentMana[(Player number of (Triggering player))])) + (|r/|cff008080 + ((String(UIMaxMana[(Player number of (Triggering player))])) + |r))))
                  • Custom script: call BlzFrameSetText(TargetMPC[05], udg_CustomString)
                • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Triggering player) Equal to Player 7 (Green)
                • Then - Actions
                  • Set VariableSet EnemySet[(Player number of (Triggering player))] = (Triggering unit)
                  • Set VariableSet UICurrentHP[(Player number of (Triggering player))] = (Integer((Life of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet UIMaxHP[(Player number of (Triggering player))] = (Integer((Max life of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet CustomString = (|cff800080 + ((String(UICurrentHP[(Player number of (Triggering player))])) + (|r/|cff800080 + ((String(UIMaxHP[(Player number of (Triggering player))])) + |r))))
                  • Custom script: call BlzFrameSetText(TargetHPC[06], udg_CustomString)
                  • Set VariableSet UICurrentMana[(Player number of (Triggering player))] = (Integer((Mana of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet UIMaxMana[(Player number of (Triggering player))] = (Integer((Max mana of EnemySet[(Player number of (Triggering player))])))
                  • Set VariableSet CustomString = (|cff008080 + ((String(UICurrentMana[(Player number of (Triggering player))])) + (|r/|cff008080 + ((String(UIMaxMana[(Player number of (Triggering player))])) + |r))))
                  • Custom script: call BlzFrameSetText(TargetMPC[06], udg_CustomString)
                • Else - Actions
            • Else - Actions
- Librarys -


UIUTils - If i use later versions of this, it gets FullSCreenMode is not a parent of UIUtils Error, is why i use this Version.

JASS:
library UIUtils

    globals
        // Screen resolution used to design UI
        public constant real SCREEN_WIDTH  = 1360.0
        public constant real SCREEN_HEIGHT = 768.0
        
        // If true, all frames will be automatically adjusted on resolution change
        private constant boolean AUTOMATIC_ADJUSTMENT = true
        private constant real RESOLUTION_CHECK_INTERVAL = 0.1
        
        // If true, component's properties will be retained when it changes parent
        private constant boolean PERSISTENT_CHILD_PROPERTIES = true
    endglobals
    
    globals
        private real WidthFactor  = 1.0
        private real HeightFactor = 1.0
    endglobals

    private struct AllComponents extends array

        implement LinkedList

        static method add takes thistype this returns nothing
            call base.insertNode(this)
        endmethod

        static method remove takes thistype this returns nothing
            call removeNode()
        endmethod

    endstruct

    private module INIT
        private static method onInit takes nothing returns nothing

            local integer i

            call RefreshResolution()

            set FrameGameUI      = BlzGetOriginFrame(ORIGIN_FRAME_GAME_UI, 0)
            set FrameWorld          = BlzGetOriginFrame(ORIGIN_FRAME_WORLD_FRAME, 0)
            set FrameHeroBar     = BlzGetOriginFrame(ORIGIN_FRAME_HERO_BAR, 0)
            set FramePortrait     = BlzGetOriginFrame(ORIGIN_FRAME_PORTRAIT, 0)
            set FrameMinimap     = BlzGetOriginFrame(ORIGIN_FRAME_MINIMAP, 0)
            set FrameTooltip     = BlzGetOriginFrame(ORIGIN_FRAME_TOOLTIP, 0)
            set FrameUberTooltip = BlzGetOriginFrame(ORIGIN_FRAME_UBERTOOLTIP, 0)
            set FrameChatMsg     = BlzGetOriginFrame(ORIGIN_FRAME_CHAT_MSG, 0)
            set FrameUnitMsg     = BlzGetOriginFrame(ORIGIN_FRAME_UNIT_MSG, 0)
            set FrameTopMsg         = BlzGetOriginFrame(ORIGIN_FRAME_TOP_MSG, 0)

            set i = 0
            loop
                exitwhen i > 11
                set FrameHeroButton[i]       = BlzGetOriginFrame(ORIGIN_FRAME_HERO_BUTTON, i)
                set FrameHeroHPBar[i]       = BlzGetOriginFrame(ORIGIN_FRAME_HERO_HP_BAR, i)
                set FrameHeroMPBar[i]       = BlzGetOriginFrame(ORIGIN_FRAME_HERO_MANA_BAR, i)
                set FrameHeroIndicator[i] = BlzGetOriginFrame(ORIGIN_FRAME_HERO_BUTTON_INDICATOR, i)
                set FrameItemButton[i]       = BlzGetOriginFrame(ORIGIN_FRAME_ITEM_BUTTON, i)
                set FrameCommandButton[i] = BlzGetOriginFrame(ORIGIN_FRAME_COMMAND_BUTTON, i)
                set FrameSystemButton[i]  = BlzGetOriginFrame(ORIGIN_FRAME_SYSTEM_BUTTON, i)
                set FrameMinimapButton[i] = BlzGetOriginFrame(ORIGIN_FRAME_MINIMAP_BUTTON, i)
                set i = i + 1
            endloop
            
            set FrameConsoleUI = BlzGetFrameByName("ConsoleUI", 0)
            
            static if AUTOMATIC_ADJUSTMENT then
                call TimerStart(CreateTimer(), RESOLUTION_CHECK_INTERVAL, true, function thistype.CheckResolution)
            endif

        endmethod
    endmodule

    struct UIUtils extends array

        readonly static integer ResolutionWidth  = 0
        readonly static integer ResolutionHeight = 0
        readonly static integer AspectWidth  = 0
        readonly static integer AspectHeight = 0
        
        readonly static boolean IsFullScreen = true
        readonly static boolean CommandButtonsVisible = true

        private static real RefAspectWorld  = 5.0
        private static real RefAspectWidth  = 4.0
        private static real RefAspectHeight = 3.0
        private static real RefExtraWidth   = 0.0

        readonly static real MinFrameX = 0.0
        readonly static real MaxFrameX = 0.0
        readonly static real DPIMinX = 0.0
        readonly static real DPIMaxX = 0.0
        readonly static real DPIMinY = 0.0
        readonly static real DPIMaxY = RefAspectHeight/RefAspectWorld
        private  static real PxToDPI = 0.0

        readonly static framehandle         FrameGameUI
        readonly static framehandle         FrameWorld
        readonly static framehandle         FrameHeroBar
        readonly static framehandle array     FrameHeroButton
        readonly static framehandle array     FrameHeroHPBar
        readonly static framehandle array     FrameHeroMPBar
        readonly static framehandle array     FrameHeroIndicator
        readonly static framehandle array     FrameItemButton
        readonly static framehandle array     FrameCommandButton
        readonly static framehandle array     FrameSystemButton
        readonly static framehandle         FramePortrait
        readonly static framehandle         FrameMinimap
        readonly static framehandle array     FrameMinimapButton
        readonly static framehandle         FrameTooltip
        readonly static framehandle         FrameUberTooltip
        readonly static framehandle         FrameChatMsg
        readonly static framehandle         FrameUnitMsg
        readonly static framehandle         FrameTopMsg
        
        readonly static framehandle         FrameConsoleUI

        private static method CalcAspectRatio takes real w, real h, real aw returns integer
            return R2I(aw*h/w+0.5)
        endmethod

        static method XCoordToDPI takes real x returns real
            return x*PxToDPI/RefAspectWidth+DPIMinX
        endmethod

        static method YCoordToDPI takes real y returns real
            return y*PxToDPI/RefAspectWidth
        endmethod

        static method SizeToDPI takes real r returns real
            return r*PxToDPI/RefAspectWidth
        endmethod

        static method DPIToXCoord takes real dpi returns real
            return (dpi-DPIMinX)*RefAspectWidth/PxToDPI
        endmethod

        static method DPIToYCoord takes real dpi returns real
            return dpi*RefAspectWidth/PxToDPI
        endmethod

        static method DPIToSize takes real dpi returns real
            return dpi*RefAspectWidth/PxToDPI
        endmethod

        static method RefreshResolution takes nothing returns nothing
        
            local AllComponents node

            set ResolutionWidth  = BlzGetLocalClientWidth()
            set ResolutionHeight = BlzGetLocalClientHeight()
            set WidthFactor  = ResolutionWidth/SCREEN_WIDTH
            set HeightFactor = ResolutionHeight/SCREEN_HEIGHT
            if CalcAspectRatio(ResolutionWidth, ResolutionHeight, 4) == 3 then
                set PxToDPI = RefAspectWidth/(ResolutionWidth/1024.0*1280.0)
                set AspectWidth   = 4
                set AspectHeight  = 3
                set RefExtraWidth = 0.0
            elseif CalcAspectRatio(ResolutionWidth, ResolutionHeight, 16) == 9 then
                set PxToDPI = RefAspectWidth/(ResolutionWidth/1360.0*1280.0)
                set AspectWidth   = 16
                set AspectHeight  = 9
                set RefExtraWidth = 0.525
            elseif CalcAspectRatio(ResolutionWidth, ResolutionHeight, 16) == 10 then
                set PxToDPI = RefAspectWidth/(ResolutionWidth/1280.0*1280.0)
                set AspectWidth   = 16
                set AspectHeight  = 10
                set RefExtraWidth = 0.4
            endif
            set MinFrameX = RefExtraWidth*320.0
            set MaxFrameX = ResolutionWidth-MinFrameX
            set DPIMinX   = -(RefExtraWidth/RefAspectWidth)
            set DPIMaxX   = RefAspectWidth/RefAspectWorld-DPIMinX
            
            set node = AllComponents.base.next
            loop
                exitwhen node.head or node == 0
                if UIComponent(node).parent == UIComponent.Null then
                    set UIComponent(node).localScale = UIComponent(node).localScale
                endif
                set node = node.next
            endloop

        endmethod
        
        static method FullScreenMode takes boolean state, boolean commandBtn returns nothing

            local integer i
            local real x
            local real y

            local real yo
            local real xo1
            local real xo2

            set IsFullScreen = state
            set CommandButtonsVisible = commandBtn
             call BlzHideOriginFrames(state)
            call BlzFrameClearAllPoints(FrameWorld)
            call BlzFrameClearAllPoints(FrameConsoleUI)
            if state then
                // Fit viewport to screen
                call BlzFrameSetAllPoints(FrameWorld, FrameGameUI)
                call BlzFrameSetAbsPoint(FrameConsoleUI, FRAMEPOINT_RIGHT, XCoordToDPI(-999.0), YCoordToDPI(-999.0))
                // Retain in-game message frame position
                set yo  = SizeToDPI(300.0)
                set xo1 = SizeToDPI(65.0)
                set xo2 = SizeToDPI(710.0)
                call BlzFrameClearAllPoints(FrameUnitMsg)
                call BlzFrameSetAbsPoint(FrameUnitMsg, FRAMEPOINT_TOPLEFT, xo1, 0.5)
                call BlzFrameSetAbsPoint(FrameUnitMsg, FRAMEPOINT_TOPRIGHT, xo2, 0.5)
                call BlzFrameSetAbsPoint(FrameUnitMsg, FRAMEPOINT_BOTTOMLEFT, xo1, yo)
                call BlzFrameSetAbsPoint(FrameUnitMsg, FRAMEPOINT_BOTTOMRIGHT, xo2, yo)
            else
                // Restore viewport
                call BlzFrameSetAbsPoint(FrameWorld, FRAMEPOINT_TOPLEFT, 0.0, 0.58)
                call BlzFrameSetAbsPoint(FrameWorld, FRAMEPOINT_TOPRIGHT, 0.8, 0.58)
                call BlzFrameSetAbsPoint(FrameWorld, FRAMEPOINT_BOTTOMLEFT, 0.0, 0.13)
                   call BlzFrameSetAbsPoint(FrameWorld, FRAMEPOINT_BOTTOMRIGHT, 0.8, 0.13)
                call BlzFrameSetAllPoints(FrameConsoleUI, FrameGameUI)
            endif

            if commandBtn or not state then
                set x = 959.0
                set y = 168.0
            endif
            set i = 0
            loop
                exitwhen FrameCommandButton[i] == null
                call BlzFrameClearAllPoints(FrameCommandButton[i])
                if commandBtn or not state then
                    // Restore command buttons position
                    call BlzFrameSetAbsPoint(FrameCommandButton[i], FRAMEPOINT_TOPLEFT, XCoordToDPI(x), YCoordToDPI(y))
                    if i == 3 or i == 7 then
                        set x = 959.0
                        set y = y - DPIToSize(BlzFrameGetHeight(FrameCommandButton[i])) - 6.0
                    else
                        set x = x + DPIToSize(BlzFrameGetWidth (FrameCommandButton[i])) + 7.0
                    endif
                else
                    // Get command buttons out of screen
                    call BlzFrameSetAbsPoint(FrameCommandButton[i], FRAMEPOINT_RIGHT, XCoordToDPI(-999.0), YCoordToDPI(-999.0))
                endif
                set i = i + 1
            endloop

        endmethod

        static method CalcFrameSpacing takes UIComponent from, UIComponent to, boolean topdown returns real

            local real size1
            local real size2
            local framepointtype anchor1 = from.anchorPoint
            local framepointtype anchor2 = to.anchorPoint

            if topdown then
                set size1 = from.height
                set size2 = to.height
                if anchor1 == FRAMEPOINT_TOPLEFT or anchor1 == FRAMEPOINT_TOP or anchor1 == FRAMEPOINT_TOPRIGHT then
                    set size1 = 0.0
                elseif anchor1 == FRAMEPOINT_LEFT or anchor1 == FRAMEPOINT_CENTER or anchor1 == FRAMEPOINT_RIGHT then
                    set size1 = size1*0.5
                endif
                if anchor2 == FRAMEPOINT_BOTTOMLEFT or anchor2 == FRAMEPOINT_BOTTOM or anchor2 == FRAMEPOINT_BOTTOMRIGHT then
                    set size2 = 0.0
                elseif anchor2 == FRAMEPOINT_LEFT or anchor2 == FRAMEPOINT_CENTER or anchor2 == FRAMEPOINT_RIGHT then
                    set size2 = size2*0.5
                endif
            else
                set size1 = from.width
                set size2 = to.width
                if anchor1 == FRAMEPOINT_TOPRIGHT or anchor1 == FRAMEPOINT_RIGHT or anchor1 == FRAMEPOINT_BOTTOMRIGHT then
                    set size1 = 0.0
                elseif anchor1 == FRAMEPOINT_TOP or anchor1 == FRAMEPOINT_CENTER or anchor1 == FRAMEPOINT_BOTTOM then
                    set size1 = size1*0.5
                endif
                if anchor2 == FRAMEPOINT_TOPLEFT or anchor2 == FRAMEPOINT_LEFT or anchor2 == FRAMEPOINT_BOTTOMLEFT then
                    set size2 = 0.0
                elseif anchor2 == FRAMEPOINT_TOP or anchor2 == FRAMEPOINT_CENTER or anchor2 == FRAMEPOINT_BOTTOM then
                    set size2 = size2*0.5
                endif
            endif

            return size1+size2
        endmethod
        
        private static method CheckResolution takes nothing returns nothing
            if BlzGetLocalClientWidth() != ResolutionWidth or BlzGetLocalClientHeight() != ResolutionHeight then
                call RefreshResolution()
            endif
        endmethod

        implement INIT

    endstruct

    struct UIComponent extends array

        implement LinkedList
        
        string name

        readonly framehandle frame
        private  framehandle textFrameH
        private  framehandle modelFrameH
        private  framehandle mainTextureH
        private  framehandle disabledTextureH
        private  framehandle pushedTextureH
        private  framehandle highlightTextureH
        private  framehandle backgroundTextureH
        private  framehandle borderTextureH
        private  framepointtype anchor

        readonly string frameType
        readonly real localX
        readonly real localY
        readonly real screenX
        readonly real screenY
        readonly real minValue
        readonly real maxValue
        readonly integer context

        private thistype par
        private thistype child
        private thistype tips
        private integer lvl
        private real localSize
        private real localWidth
        private real localHeight
        private real step
        private string mainTextureFile
        private string disabledTextureFile
        private string pushedTextureFile
        private string highlightTextureFile
        private string backgroundTextureFile
        private string borderTextureFile
        private string modelFile
        private trigger anyEventTrigg

        readonly static thistype Null = 0
        readonly static thistype EnumChild = 0
        readonly static thistype TriggerComponent = 0

        readonly static string TYPE_TEXT            = "UIUtilsText"
        readonly static string TYPE_SIMPLE_TEXT        = "UIUtilsSimpleText"
        readonly static string TYPE_TEXTURE            = "UIUtilsTexture"
        readonly static string TYPE_SIMPLE_TEXTURE     = "UIUtilsSimpleTexture"
        readonly static string TYPE_BUTTON             = "UIUtilsButton"
        readonly static string TYPE_BAR             = "UIUtilsBar"
        readonly static string TYPE_H_SLIDER        = "UIUtilsSliderH"
        readonly static string TYPE_V_SLIDER        = "UIUtilsSliderV"

        private static trigger ExecTrigg = CreateTrigger()
        private static gamecache GC
        private static hashtable HT
        
        private static method IsSimple takes string frameType, boolean isSimple returns boolean
            return frameType == TYPE_SIMPLE_TEXT or frameType == TYPE_SIMPLE_TEXTURE or frameType == TYPE_BAR or isSimple and not (frameType == TYPE_TEXT or frameType == TYPE_TEXTURE or frameType == TYPE_BUTTON or frameType == TYPE_H_SLIDER or frameType == TYPE_V_SLIDER)
        endmethod
        
        private static method GetTriggerComponent takes nothing returns boolean
            set TriggerComponent = LoadInteger(HT, GetHandleId(BlzGetTriggerFrame()), 0)
            return false
        endmethod

        method operator onAnyEvent= takes code func returns triggercondition
        
            local integer i
            
            if .anyEventTrigg == null then
                set .anyEventTrigg = CreateTrigger()
                set i = 1
                loop
                    exitwhen i > 16
                    call BlzTriggerRegisterFrameEvent(.anyEventTrigg, .frame, ConvertFrameEventType(i))
                    set i = i + 1
                endloop
                call TriggerAddCondition(.anyEventTrigg, Condition(function thistype.GetTriggerComponent))
            endif
            
            return TriggerAddCondition(.anyEventTrigg, Condition(func))
        endmethod
        
        method operator anchorPoint= takes framepointtype point returns nothing
            set .anchor = point
               call BlzFrameClearAllPoints(.frame)
            call move(.localX, .localY)
        endmethod

        method operator anchorPoint takes nothing returns framepointtype
            return .anchor
        endmethod

        method operator parent= takes thistype comp returns nothing
            if comp != Null then
                if .par != comp then
                    call .removeNode()
                endif
                call comp.child.insertNode(this)
            endif
            
            static if not PERSISTENT_CHILD_PROPERTIES then
                if .par != Null then
                    set .localScale = .localScale*.par.localScale
                endif
                set .localX = .screenX - comp.screenX
                set .localY = .screenY - comp.screenY
            endif
            
            set .par = comp
            set .par.localScale = .par.localScale
            
        endmethod

        method operator parent takes nothing returns thistype
            return .par
        endmethod

        method operator text= takes string str returns nothing
            call BlzFrameSetText(.textFrameH, str)
        endmethod

        method operator text takes nothing returns string
            return BlzFrameGetText(.textFrameH)
        endmethod

        method operator maxLength= takes integer len returns nothing
            call BlzFrameSetTextSizeLimit(.textFrameH, len)
        endmethod

        method operator maxLength takes nothing returns integer
            return BlzFrameGetTextSizeLimit(.textFrameH)
        endmethod

        method operator textColor= takes integer color returns nothing
            call BlzFrameSetTextColor(.textFrameH, color)
        endmethod

        method operator texture= takes string filePath returns nothing
            set .mainTextureFile = filePath
            call BlzFrameSetTexture(.mainTextureH, filePath, 0, true)
            if StringLength(.disabledTextureFile) == 0 then
                set .disabledTexture = filePath
            endif
            if StringLength(.pushedTextureFile) == 0 then
                set .pushedTexture = filePath
            endif
        endmethod

        method operator texture takes nothing returns string
            return .mainTextureFile
        endmethod

        method operator disabledTexture= takes string filePath returns nothing
            set .disabledTextureFile = filePath
            call BlzFrameSetTexture(.disabledTextureH, filePath, 0, true)
        endmethod

        method operator disabledTexture takes nothing returns string
            return .disabledTextureFile
        endmethod

        method operator highlightTexture= takes string filePath returns nothing
            set .highlightTextureFile = filePath
            call BlzFrameSetTexture(.highlightTextureH, filePath, 0, true)
        endmethod

        method operator highlightTexture takes nothing returns string
            return .highlightTextureFile
        endmethod

        method operator pushedTexture= takes string filePath returns nothing
            set .pushedTextureFile = filePath
            call BlzFrameSetTexture(.pushedTextureH, filePath, 0, true)
        endmethod

        method operator pushedTexture takes nothing returns string
            return .pushedTextureFile
        endmethod

        method operator backgroundTexture= takes string filePath returns nothing
            set .backgroundTextureFile = filePath
            call BlzFrameSetTexture(.backgroundTextureH, filePath, 0, true)
        endmethod

        method operator backgroundTexture takes nothing returns string
            return .backgroundTextureFile
        endmethod

        method operator borderTexture= takes string filePath returns nothing
            set .borderTextureFile = filePath
            call BlzFrameSetTexture(.borderTextureH, filePath, 0, true)
        endmethod

        method operator borderTexture takes nothing returns string
            return .borderTextureFile
        endmethod

        method operator model= takes string filePath returns nothing
            set .modelFile = filePath
            call BlzFrameSetModel(.modelFrameH, filePath, 0)
        endmethod

        method operator model takes nothing returns string
            return .modelFile
        endmethod

        method operator vertexColor= takes integer color returns nothing
            call BlzFrameSetVertexColor(.modelFrameH, color)
        endmethod

        method operator value= takes real r returns nothing
            call BlzFrameSetValue(.frame, r)
        endmethod

        method operator value takes nothing returns real
            return BlzFrameGetValue(.frame)
        endmethod

        method operator stepSize= takes real r returns nothing
            set .step = RMaxBJ(r, 0.0001)
            call BlzFrameSetStepSize(.frame, .step)
        endmethod

        method operator stepSize takes nothing returns real
            return .step
        endmethod

        method operator localScale= takes real r returns nothing

            local thistype node = .child.next

            set .localSize = RMaxBJ(r, 0.0001)
            call setSize(.width, .height)
            call move(.localX, .localY)

            loop
                exitwhen node.head or node == 0
                set node.localScale = node.localScale
                set node = node.next
            endloop

        endmethod

        method operator localScale takes nothing returns real
            return .localSize
        endmethod

        method operator scale takes nothing returns real
            if .parent == Null then
                return .localScale
            else
                return .localScale * .parent.scale
            endif
        endmethod

        method operator opacity= takes integer amount returns nothing
            call BlzFrameSetAlpha(.frame, amount)
        endmethod

        method operator opacity takes nothing returns integer
            return BlzFrameGetAlpha(.frame)
        endmethod

        method operator level= takes integer level returns nothing
            set .lvl = level
            call BlzFrameSetLevel(.frame, level)
        endmethod

        method operator level takes nothing returns integer
            return .lvl
        endmethod

        method operator tooltips= takes thistype comp returns nothing
            set .tips = comp
            call BlzFrameSetTooltip(.frame, comp.frame)
        endmethod

        method operator tooltips takes nothing returns thistype
            return .tips
        endmethod

        method operator visible= takes boolean state returns nothing
            call BlzFrameSetVisible(.frame, state)
        endmethod

        method operator visible takes nothing returns boolean
            return BlzFrameIsVisible(.frame)
        endmethod

        method operator enabled= takes boolean state returns nothing
            call BlzFrameSetEnable(.frame, state)
        endmethod

        method operator enabled takes nothing returns boolean
            return BlzFrameGetEnable(.frame)
        endmethod

        method operator width takes nothing returns real
            return .localWidth
        endmethod

        method operator height takes nothing returns real
            return .localHeight
        endmethod

        method setSize takes real width, real height returns nothing
            set .localWidth  = RMaxBJ(width,  0)
            set .localHeight = RMaxBJ(height, 0)
            call BlzFrameSetSize(frame, UIUtils.SizeToDPI(.localWidth*.scale*WidthFactor), UIUtils.SizeToDPI(.localHeight*.scale*WidthFactor))
        endmethod

        method move takes real x, real y returns nothing

            local thistype node = .child.next

            set .localX = x
            set .localY = y
            if .parent == Null then
                set .screenX = x
                set .screenY = y
            else
                set .screenX = .parent.screenX+.localX*.parent.scale
                set .screenY = .parent.screenY+.localY*.parent.scale
            endif
            call BlzFrameSetAbsPoint(.frame, .anchor, UIUtils.XCoordToDPI(.screenX*WidthFactor), UIUtils.YCoordToDPI(.screenY*HeightFactor))

            loop
                exitwhen node.head or node == 0
                call node.move(node.localX, node.localY)
                set node = node.next
            endloop

        endmethod

        method moveEx takes real x, real y returns nothing
            if .parent == Null then
                call move(x, y)
            else
                call move((x-.parent.screenX)/.parent.localScale, (y-.parent.screenY)/.parent.localScale)
            endif
        endmethod

        method relate takes thistype relative, real x, real y returns nothing
            if .parent == Null then
                call move(relative.screenX+x, relative.screenY+y)
            else
                call moveEx(relative.screenX+x, relative.screenY+y)
            endif
        endmethod

        method click takes nothing returns nothing
            call BlzFrameClick(.frame)
        endmethod

        method cageMouse takes boolean state returns nothing
            call BlzFrameCageMouse(.frame, state)
        endmethod

        method setFocus takes boolean state returns nothing
            call BlzFrameSetFocus(.frame, state)
        endmethod

        method setSpriteAnimate takes integer primaryProp, integer flags returns nothing
            call BlzFrameSetSpriteAnimate(.frame, primaryProp, flags)
        endmethod

        method setMinMaxValue takes real min, real max returns nothing
            set .minValue = min
            set .maxValue = max
            call BlzFrameSetMinMaxValue(.frame, min, max)
        endmethod

        method setFont takes string fontPath, real height, integer flags returns nothing
            call BlzFrameSetFont(.textFrameH, fontPath, height, flags)
        endmethod

        method setTextAlignment takes textaligntype vertical, textaligntype horizontal returns nothing
            call BlzFrameSetTextAlignment(.textFrameH, vertical, horizontal)
        endmethod
        
        method getSubFrame takes string name returns framehandle
            return BlzGetFrameByName(name, .context) 
        endmethod

        method forChilds takes code func returns nothing
            
            local thistype node = .child.next

            call TriggerAddAction(ExecTrigg, func)
            loop
                exitwhen node.head or node == 0
                set EnumChild = node
                call TriggerExecute(ExecTrigg)
                set node = node.next
            endloop
            call TriggerClearActions(ExecTrigg)

        endmethod

        method destroy takes nothing returns nothing

            local thistype node = .child.next
            
            loop
                exitwhen node.head or node == 0
                call node.destroy()
                set node = node.next
            endloop

            call BlzDestroyFrame(.frame)
            call DestroyTrigger(.anyEventTrigg)
            call StoreInteger(GC, name, I2S(.context), GetStoredInteger(GC, name, "0"))
            call StoreInteger(GC, name, "0", .context)
            call AllComponents.remove(this)
            call .child.flushNode()
            call removeNode()
            call deallocate()
            set .anyEventTrigg         = null
            set .mainTextureH        = null
            set .disabledTextureH     = null
            set .highlightTextureH     = null
            set .pushedTextureH     = null
            set .backgroundTextureH = null
            set .borderTextureH     = null
            set .textFrameH         = null
            set .modelFrameH         = null
            set .frame                 = null
            set .name                  = null
            set .frameType             = null
            set .child                 = 0
            
        endmethod

        static method create takes boolean isSimple, string frameType, thistype par, real x, real y, integer level returns thistype
            
            local thistype this = allocate()
            local integer tempInt
            
            set .context = GetStoredInteger(GC, frameType, "0")
            set tempInt  = GetStoredInteger(GC, frameType, I2S(context))
            if tempInt == 0 then
                call StoreInteger(GC, frameType, "0", context+1)
            else
                call StoreInteger(GC, frameType, "0", tempInt)
            endif
            
            if IsSimple(frameType, isSimple) then
                set .frame             = BlzCreateSimpleFrame(frameType, UIUtils.FrameGameUI, .context)
            else
                set .frame             = BlzCreateFrame(frameType, UIUtils.FrameGameUI, 0, .context)
            endif
            set .mainTextureH        = getSubFrame(frameType + "Texture")
            set .disabledTextureH     = getSubFrame(frameType + "Disabled")
            set .highlightTextureH     = getSubFrame(frameType + "Highlight")
            set .pushedTextureH     = getSubFrame(frameType + "Pushed")
            set .backgroundTextureH = getSubFrame(frameType + "Background")
            set .borderTextureH     = getSubFrame(frameType + "Border")
            set .textFrameH         = getSubFrame(frameType + "Text")
            set .modelFrameH         = getSubFrame(frameType + "Model")
            if .mainTextureH == null then
                set .mainTextureH     = frame
            endif
            
            set .localWidth         = UIUtils.DPIToSize(BlzFrameGetWidth(.frame))
            set .localHeight        = UIUtils.DPIToSize(BlzFrameGetHeight(.frame))
            set .anchor             = FRAMEPOINT_BOTTOMLEFT
            set .child                 = createNode()
            set .frameType            = frameType
            set .name                 = frameType + I2S(.context)
            set .parent             = par
            set .level                 = level
            set .value                 = 0.0
            set .localScale         = 1.0
            
            set .mainTextureFile        = ""
            set .disabledTextureFile    = ""
            set .pushedTextureFile        = ""
            set .highlightTextureFile    = ""
            set .backgroundTextureFile    = ""
            set .borderTextureFile        = ""
            set .modelFile                = ""
            
            call move(x, y)
            call setMinMaxValue(0.0, 1.0)
            call AllComponents.add(this)
            call SaveInteger(HT, GetHandleId(.frame), 0, this)

            return this
        endmethod

        private static method onInit takes nothing returns nothing
            set HT = InitHashtable()
            set GC = InitGameCache("UIUtils.w3v")
               call BlzLoadTOCFile("war3mapimported\\UIUtils.toc")
        endmethod

    endstruct

endlibrary

JASS:
library LinkedListModule /* v2.3.1

Easy implementation of linked lists into structs.

***********************************************************************
*
*   module LinkedList
*
*       -   Implement at the top of your struct, must extend array
*
*       thistype next
*       thistype prev
*       boolean  head
*
*       readonly static thistype base
*           -   Precreated head, useful for non-dynamic lists.
*
*       static method allocate takes nothing returns thistype
*       method deallocate takes nothing returns nothing
*
*       static method createNode takes nothing returns thistype
*           -   Allocates a new node pointing towards itself.
*           -   These nodes are considered "heads" therefore it's head
*           -   boolean member is set to true.
*       method insertNode takes thistype toInsert returns thistype
*           -   Inserts the instance before the node.
*       method removeNode takes nothing returns nothing
*           -   Removes the node from the list.
*       method clearNode takes nothing returns nothing
*           -   Deallocates all the instances within the node's range.
*       method flushNode takes nothing returns nothing
*           -   Clears and deallocates the node.
*
*   module LinkedListLite
*       -   Only has the members and the allocation methods.
*       -   To be used with the provided textmacros.
*
*       textmacro LINKED_LIST_HEAD takes node
*           -   Turns the node into a head.
*       textmacro LINKED_LIST_INSERT takes node, toInsert
*           -   Inserts the instance before the node.
*       textmacro LINKED_LIST_REMOVE takes node
*           -   Removes the node from the list.
*       textmacro LINKED_LIST_CLEAR takes node
*           -   Deallocates all the instances within the node's range.
*       textmacro LINKED_LIST_FLUSH takes node
*           -   Clears and deallocates the node.
*       textmacro LINKED_LIST_MERGE takes nodeA, nodeB
*           -   Merges two lists together (Don't merge loose nodes!)
*
**********************************************************************/
    
    module LinkedListLite

        private static integer instanceCount = 0

        thistype next
        thistype prev
        boolean  head
        
        static method allocate takes nothing returns thistype
            local thistype this = thistype(0).prev
            if this==0 then
                debug if instanceCount==8190 then
                    debug call BJDebugMsg("[LinkedList] Error: attempted to allocate too many instances.")
                    debug return 0
                debug endif
                set instanceCount = instanceCount+1
                return instanceCount
            endif
            set thistype(0).prev = prev
            return this
        endmethod
        
        method deallocate takes nothing returns nothing
            set this.prev=thistype(0).prev
            set thistype(0).prev=this
            set this.head=false
        endmethod

    endmodule

    module LinkedList
        implement LinkedListLite
        
        static method operator base takes nothing returns thistype
            return 8190
        endmethod
        
        static method createNode takes nothing returns thistype
            local thistype this=allocate()
            //! runtextmacro LINKED_LIST_HEAD("this")
            return this
        endmethod
        
        method clearNode takes nothing returns nothing
            //! runtextmacro LINKED_LIST_CLEAR("this")
        endmethod
        
        method flushNode takes nothing returns nothing
            //! runtextmacro LINKED_LIST_FLUSH("this")
        endmethod
        
        method insertNode takes thistype toInsert returns nothing            
            //! runtextmacro LINKED_LIST_INSERT("this","toInsert")
        endmethod
        
        method removeNode takes nothing returns nothing
            //! runtextmacro LINKED_LIST_REMOVE("this")
        endmethod
        
        private static method onInit takes nothing returns nothing
            set thistype(8190).next = 8190
            set thistype(8190).prev = 8190
            set thistype(8190).head = true
        endmethod
        
        static if DEBUG_MODE then
            method print takes nothing returns nothing
                local string s=""
                local thistype exit=this
                loop
                    set s=s+I2S(this)
                    set this = next
                    exitwhen this==exit
                    set s = s+" - "
                endloop
                call BJDebugMsg("[ "+s+" ]")
            endmethod
        endif
        
    endmodule

    //! textmacro LINKED_LIST_HEAD takes node
        set $node$.next = this
        set $node$.prev = this
        set $node$.head = true
    //! endtextmacro
        
    //! textmacro LINKED_LIST_CLEAR takes node
        if $node$!=$node$.next then
            set $node$.next.prev = thistype(0).prev
            set thistype(0).prev = $node$.prev
            set $node$.next = $node$
            set $node$.prev = $node$
        endif
    //! endtextmacro
        
    //! textmacro LINKED_LIST_FLUSH takes node
        set $node$.next.prev = thistype(0).prev
        set thistype(0).prev = $node$
        set $node$.head = false
    //! endtextmacro
        
    //! textmacro LINKED_LIST_INSERT takes node, toInsert
        set $node$.prev.next = $toInsert$
        set $toInsert$.prev = $node$.prev
        set $node$.prev = $toInsert$
        set $toInsert$.next = $node$
    //! endtextmacro
        
    //! textmacro LINKED_LIST_REMOVE takes node
        set $node$.prev.next = $node$.next
        set $node$.next.prev = $node$.prev
    //! endtextmacro

    //! textmacro LINKED_LIST_MERGE takes nodeA, nodeB
        set $nodeA$.next.prev = $nodeB$.prev
        set $nodeB$.prev.next = $nodeA$.next
        set $nodeA$.next = $nodeB$
        set $nodeB$.prev = $nodeA$
    //! endtextmacro

endlibrary

ok so now, as you can see the inventory doesnt work.

image_2022-07-03_053947323.png


Now in my other map, using the same set up but different UI Style, the inv shows but in wrong spots, however change the location works on that.

This UI below is my other map, and uses same things, but inv shows on it.


image_2022-07-03_054041822.png




Now back to topic, wanna know if anyone knowst he issue here with the code or anything, and is there like a limit on the location of the Inventory Slots, like if it too far up it dont show, too low it dont, too far to right or left so on.
 
Level 7
Joined
Nov 6, 2019
Messages
186
So anyone got idea to fix?

Also is it possible to disable F9 from opening blizzard quest log, and open a custom ui questlog

As blizzard one is so limited so plan to make my own but I want it to be sane oskey everyone is used to, I can easy set up oskey but pressing F9 would open custom quest log and blizzard basic at sane time.

Mostly seeming help on inventory issue.
 
for full functional inventory buttons you need to show the whole bottom unit info center ui, the parent of ("SimpleInfoPanelUnitDetail",0). In Warcraft 3 V1.32+ it is recommetend to access the inventory button Frames by their name Version ("InventoryButton_0",0), ("InventoryButton_1",0) ...("InventoryButton_5",0) when you want to move them.

Also is it possible to disable F9 from opening blizzard quest log, and open a custom ui questlog
Not as far as I know. But instead you could place your custom UI over the QuestDialog by making it a child of QuestDialog. Then you could make the normal one invisible by 0 alpha or scale, but beaware that your custom Frame as child is also affected and hence you need to set their scale alpha to default to undo the "invisible" effect from the parent. That way your custom UI shows up automatic when the user would want to open the QuestDialog and hides when it is hidden.

0. Create Quests
1. Click "QuestButton"
2. Create custom Frame as child of "QuestDialog"
3. SetScale/Alpha "QuestDialog" to 0
4. SetScale/Alpha custom Frame to 1.0/255
 
Level 7
Joined
Nov 6, 2019
Messages
186
Adding
JASS:
call BlzFrameSetVisible(BlzFrameGetParent(BlzGetFrameByName("SimpleInfoPanelUnitDetail", 0)), true)
didnt work

i also saw on your tutorial about this, but in lua, so i am unsure if i set it right on jass but it saved no issue however still doesnt show inventory

JASS:
local framehandle SUI = BlzCreateFrameByType("SIMPLEFRAME", "", BlzGetFrameByName("ConsoleUI", 0), "", 0)
call BlzFrameSetVisible(SUI, false)
call BlzFrameSetVisible(BlzFrameGetParent(BlzGetFrameByName("SimpleInfoPanelUnitDetail", 0)), true)
call BlzFrameSetParent(BlzGetFrameByName("SimpleInfoPanelUnitDetail", 0), SUI)

and this is how i set inventory, pretty sure thats right :p

JASS:
 call BlzFrameSetAbsPoint(BlzGetFrameByName("InventoryButton_0",0), FRAMEPOINT_TOPLEFT, 0.675, 0.123)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("InventoryButton_1",0), FRAMEPOINT_TOPLEFT, 0.708, 0.123)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("InventoryButton_2",0), FRAMEPOINT_TOPLEFT, 0.675, 0.091)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("InventoryButton_3",0), FRAMEPOINT_TOPLEFT, 0.708, 0.091)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("InventoryButton_4",0), FRAMEPOINT_TOPLEFT, 0.675, 0.059)
 call BlzFrameSetAbsPoint(BlzGetFrameByName("InventoryButton_5",0), FRAMEPOINT_TOPLEFT, 0.708, 0.059)

also not sure how to set a child of parent of a blizzard frame for quests, but thats unimportant atm, Also thinking if theres no quests in the quest Tab, the quest tab wont even open with F9, and then use oskey with custom UI, F9, would open custom ui but not the quest tab, that or i am remembering wrong, ima check this later.

EDIT: Tested, yeah if i have 0 quests in questlog, it doesnt open quest Dialog, so can just set a OSKEY for F9 have no quests in log and use a custom UI to open when pressing F9

EDIT: i see how you mean, for the new log to show by pressing quest button i have to do the parts u said, so how would i go on about adding my frame to QuestDialog Parent, and never tried to change Alpha whatever that is, so how do i set that command up too :p

JASS:
globals 
framehandle QuestUIBD = null 
trigger TriggerQuestUIBD = null 
framehandle  array QuestNameC 
trigger  array TriggerQuestNameC 
framehandle  array QuestDescriptionC 
trigger  array TriggerQuestDescriptionC 
framehandle CloseQL = null 
 framehandle BackdropCloseQL = null 
trigger TriggerCloseQL = null 
framehandle  array QuestButtonT 
 framehandle  array BackdropQuestButtonT 
trigger  array TriggerQuestButtonT 
framehandle  array QuestBNameT00T 
trigger  array TriggerQuestBNameT00T 
endglobals 
 
library QuestUI initializer init 
function CloseQLFunc takes nothing returns nothing 
call BlzFrameSetEnable(CloseQL, false) 
call BlzFrameSetEnable(CloseQL, true) 
set udg_CloseQL = GetConvertedPlayerId(GetTriggerPlayer()) 
endfunction 
 
function QuestButtonT00Func takes nothing returns nothing 
call BlzFrameSetEnable(QuestButtonT[0], false) 
call BlzFrameSetEnable(QuestButtonT[0], true) 
set udg_QLB1 = GetConvertedPlayerId(GetTriggerPlayer()) 
endfunction 
 
function QuestButtonT01Func takes nothing returns nothing 
call BlzFrameSetEnable(QuestButtonT[1], false) 
call BlzFrameSetEnable(QuestButtonT[1], true) 
set udg_QLB2 = GetConvertedPlayerId(GetTriggerPlayer()) 
endfunction 
 
function QuestButtonT02Func takes nothing returns nothing 
call BlzFrameSetEnable(QuestButtonT[2], false) 
call BlzFrameSetEnable(QuestButtonT[2], true) 
set udg_QLB3 = GetConvertedPlayerId(GetTriggerPlayer()) 
endfunction 
 
function QuestButtonT03Func takes nothing returns nothing 
call BlzFrameSetEnable(QuestButtonT[3], false) 
call BlzFrameSetEnable(QuestButtonT[3], true) 
set udg_QLB4 = GetConvertedPlayerId(GetTriggerPlayer()) 
endfunction 
 
function QuestButtonT04Func takes nothing returns nothing 
call BlzFrameSetEnable(QuestButtonT[4], false) 
call BlzFrameSetEnable(QuestButtonT[4], true) 
set udg_QLB5 = GetConvertedPlayerId(GetTriggerPlayer()) 
endfunction 
 
function QuestButtonT05Func takes nothing returns nothing 
call BlzFrameSetEnable(QuestButtonT[5], false) 
call BlzFrameSetEnable(QuestButtonT[5], true) 
set udg_QLB6 = GetConvertedPlayerId(GetTriggerPlayer()) 
endfunction 
 
function QuestButtonT06Func takes nothing returns nothing 
call BlzFrameSetEnable(QuestButtonT[6], false) 
call BlzFrameSetEnable(QuestButtonT[6], true) 
set udg_QLB7 = GetConvertedPlayerId(GetTriggerPlayer()) 
endfunction 
 
function QuestButtonT07Func takes nothing returns nothing 
call BlzFrameSetEnable(QuestButtonT[7], false) 
call BlzFrameSetEnable(QuestButtonT[7], true) 
set udg_QLB8 = GetConvertedPlayerId(GetTriggerPlayer()) 
endfunction 
 
function QuestButtonT08Func takes nothing returns nothing 
call BlzFrameSetEnable(QuestButtonT[8], false) 
call BlzFrameSetEnable(QuestButtonT[8], true) 
set udg_QLB9 = GetConvertedPlayerId(GetTriggerPlayer()) 
endfunction 
 
function QuestButtonT09Func takes nothing returns nothing 
call BlzFrameSetEnable(QuestButtonT[9], false) 
call BlzFrameSetEnable(QuestButtonT[9], true) 
set udg_QLB10 = GetConvertedPlayerId(GetTriggerPlayer()) 
endfunction 
 
function QuestButtonT10Func takes nothing returns nothing 
call BlzFrameSetEnable(QuestButtonT[10], false) 
call BlzFrameSetEnable(QuestButtonT[10], true) 
set udg_QLB11 = GetConvertedPlayerId(GetTriggerPlayer()) 
endfunction 
 
function QuestButtonT11Func takes nothing returns nothing 
call BlzFrameSetEnable(QuestButtonT[11], false) 
call BlzFrameSetEnable(QuestButtonT[11], true) 
set udg_QLB12 = GetConvertedPlayerId(GetTriggerPlayer()) 
endfunction 
 
function QuestButtonT12Func takes nothing returns nothing 
call BlzFrameSetEnable(QuestButtonT[12], false) 
call BlzFrameSetEnable(QuestButtonT[12], true) 
set udg_QLB13 = GetConvertedPlayerId(GetTriggerPlayer()) 
endfunction 
 
function QuestButtonT13Func takes nothing returns nothing 
call BlzFrameSetEnable(QuestButtonT[13], false) 
call BlzFrameSetEnable(QuestButtonT[13], true) 
set udg_QLB14 = GetConvertedPlayerId(GetTriggerPlayer()) 
endfunction 
 
private function init takes nothing returns nothing 

set QuestUIBD = BlzCreateFrameByType("BACKDROP", "BACKDROP", BlzGetFrameByName("ConsoleUIBackdrop", 0), "", 1)
call BlzFrameSetAbsPoint(QuestUIBD, FRAMEPOINT_TOPLEFT, 0.125980, 0.554755)
call BlzFrameSetAbsPoint(QuestUIBD, FRAMEPOINT_BOTTOMRIGHT, 0.682230, 0.165380)
call BlzFrameSetTexture(QuestUIBD, "QuestUIBD.blp", 0, true)
set QuestNameC[0] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[0], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[0], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[0], "|cffffffff\n|r")
call BlzFrameSetEnable(QuestNameC[0], false)
call BlzFrameSetScale(QuestNameC[0], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[1] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[1], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[1], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[1], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[1], false)
call BlzFrameSetScale(QuestNameC[1], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[2] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[2], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[2], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[2], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[2], false)
call BlzFrameSetScale(QuestNameC[2], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[3] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[3], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[3], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[3], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[3], false)
call BlzFrameSetScale(QuestNameC[3], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[4] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[4], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[4], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[4], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[4], false)
call BlzFrameSetScale(QuestNameC[4], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[5] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[5], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[5], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[5], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[5], false)
call BlzFrameSetScale(QuestNameC[5], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[6] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[6], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[6], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[6], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[6], false)
call BlzFrameSetScale(QuestNameC[6], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[7] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[7], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[7], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[7], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[7], false)
call BlzFrameSetScale(QuestNameC[7], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[7], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[8] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[8], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[8], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[8], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[8], false)
call BlzFrameSetScale(QuestNameC[8], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[8], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[9] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[9], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[9], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[9], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[9], false)
call BlzFrameSetScale(QuestNameC[9], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[9], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[10] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[10], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[10], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[10], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[10], false)
call BlzFrameSetScale(QuestNameC[10], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[10], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[11] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[11], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[11], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[11], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[11], false)
call BlzFrameSetScale(QuestNameC[11], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[11], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[12] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[12], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[12], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[12], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[12], false)
call BlzFrameSetScale(QuestNameC[12], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[12], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[13] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[13], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[13], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[13], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[13], false)
call BlzFrameSetScale(QuestNameC[13], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[13], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[14] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[14], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[14], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[14], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[14], false)
call BlzFrameSetScale(QuestNameC[14], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[14], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[15] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[15], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[15], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[15], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[15], false)
call BlzFrameSetScale(QuestNameC[15], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[15], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[16] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[16], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[16], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[16], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[16], false)
call BlzFrameSetScale(QuestNameC[16], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[16], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[17] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[17], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[17], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[17], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[17], false)
call BlzFrameSetScale(QuestNameC[17], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[17], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[18] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[18], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[18], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[18], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[18], false)
call BlzFrameSetScale(QuestNameC[18], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[18], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestNameC[19] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestNameC[19], FRAMEPOINT_TOPLEFT, 0.410030, 0.548700)
call BlzFrameSetAbsPoint(QuestNameC[19], FRAMEPOINT_BOTTOMRIGHT, 0.674580, 0.493600)
call BlzFrameSetText(QuestNameC[19], "|cffffffff|r")
call BlzFrameSetEnable(QuestNameC[19], false)
call BlzFrameSetScale(QuestNameC[19], 1.71)
call BlzFrameSetTextAlignment(QuestNameC[19], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[0] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[0], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[0], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[0], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[0], false)
call BlzFrameSetScale(QuestDescriptionC[0], 0.715)
call BlzFrameSetTextAlignment(QuestDescriptionC[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[1] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[1], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[1], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[1], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[1], false)
call BlzFrameSetScale(QuestDescriptionC[1], 0.715)
call BlzFrameSetTextAlignment(QuestDescriptionC[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[2] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[2], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[2], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[2], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[2], false)
call BlzFrameSetScale(QuestDescriptionC[2], 0.715)
call BlzFrameSetTextAlignment(QuestDescriptionC[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[3] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[3], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[3], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[3], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[3], false)
call BlzFrameSetScale(QuestDescriptionC[3], 0.715)
call BlzFrameSetTextAlignment(QuestDescriptionC[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[4] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[4], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[4], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[4], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[4], false)
call BlzFrameSetScale(QuestDescriptionC[4], 0.715)
call BlzFrameSetTextAlignment(QuestDescriptionC[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[5] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[5], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[5], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[5], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[5], false)
call BlzFrameSetScale(QuestDescriptionC[5], 0.715)
call BlzFrameSetTextAlignment(QuestDescriptionC[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[6] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[6], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[6], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[6], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[6], false)
call BlzFrameSetScale(QuestDescriptionC[6], 0.715)
call BlzFrameSetTextAlignment(QuestDescriptionC[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[7] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[7], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[7], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[7], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[7], false)
call BlzFrameSetScale(QuestDescriptionC[7], 0.715)
call BlzFrameSetTextAlignment(QuestDescriptionC[7], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[8] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[8], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[8], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[8], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[8], false)
call BlzFrameSetScale(QuestDescriptionC[8], 0.715)
call BlzFrameSetTextAlignment(QuestDescriptionC[8], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[9] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[9], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[9], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[9], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[9], false)
call BlzFrameSetScale(QuestDescriptionC[9], 0.715)
call BlzFrameSetTextAlignment(QuestDescriptionC[9], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[10] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[10], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[10], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[10], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[10], false)
call BlzFrameSetScale(QuestDescriptionC[10], 0.715)
call BlzFrameSetTextAlignment(QuestDescriptionC[10], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[11] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[11], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[11], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[11], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[11], false)
call BlzFrameSetScale(QuestDescriptionC[11], 0.715)
call BlzFrameSetTextAlignment(QuestDescriptionC[11], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[12] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[12], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[12], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[12], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[12], false)
call BlzFrameSetScale(QuestDescriptionC[12], 1.00)
call BlzFrameSetTextAlignment(QuestDescriptionC[12], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[13] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[13], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[13], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[13], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[13], false)
call BlzFrameSetScale(QuestDescriptionC[13], 0.715)
call BlzFrameSetTextAlignment(QuestDescriptionC[13], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[14] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[14], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[14], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[14], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[14], false)
call BlzFrameSetScale(QuestDescriptionC[14], 1.00)
call BlzFrameSetTextAlignment(QuestDescriptionC[14], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[15] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[15], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[15], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[15], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[15], false)
call BlzFrameSetScale(QuestDescriptionC[15], 1.00)
call BlzFrameSetTextAlignment(QuestDescriptionC[15], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[16] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[16], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[16], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[16], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[16], false)
call BlzFrameSetScale(QuestDescriptionC[16], 1.00)
call BlzFrameSetTextAlignment(QuestDescriptionC[16], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[17] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[17], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[17], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[17], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[17], false)
call BlzFrameSetScale(QuestDescriptionC[17], 1.00)
call BlzFrameSetTextAlignment(QuestDescriptionC[17], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[18] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[18], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[18], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[18], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[18], false)
call BlzFrameSetScale(QuestDescriptionC[18], 1.00)
call BlzFrameSetTextAlignment(QuestDescriptionC[18], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestDescriptionC[19] = BlzCreateFrameByType("TEXT", "name", QuestUIBD, "", 0)
call BlzFrameSetAbsPoint(QuestDescriptionC[19], FRAMEPOINT_TOPLEFT, 0.410030, 0.485900)
call BlzFrameSetAbsPoint(QuestDescriptionC[19], FRAMEPOINT_BOTTOMRIGHT, 0.675700, 0.171990)
call BlzFrameSetText(QuestDescriptionC[19], "|cffffffff|r")
call BlzFrameSetEnable(QuestDescriptionC[19], false)
call BlzFrameSetScale(QuestDescriptionC[19], 1.00)
call BlzFrameSetTextAlignment(QuestDescriptionC[19], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set CloseQL = BlzCreateFrame("IconButtonTemplate", QuestUIBD, 0, 0)
call BlzFrameSetAbsPoint(CloseQL, FRAMEPOINT_TOPLEFT, 0.648960, 0.199210)
call BlzFrameSetAbsPoint(CloseQL, FRAMEPOINT_BOTTOMRIGHT, 0.676760, 0.171410)
set BackdropCloseQL = BlzCreateFrameByType("BACKDROP", "BackdropCloseQL", CloseQL, "", 0)
call BlzFrameSetAllPoints(BackdropCloseQL, CloseQL)
call BlzFrameSetTexture(BackdropCloseQL, "QuestUIC.blp", 0, true)
set TriggerCloseQL = CreateTrigger() 
 call BlzTriggerRegisterFrameEvent(TriggerCloseQL, CloseQL, FRAMEEVENT_CONTROL_CLICK) 
 call TriggerAddAction(TriggerCloseQL, function CloseQLFunc) 
set QuestButtonT[0] = BlzCreateFrame("IconButtonTemplate", QuestUIBD, 0, 0)
call BlzFrameSetAbsPoint(QuestButtonT[0], FRAMEPOINT_TOPLEFT, 0.132110, 0.485293)
call BlzFrameSetAbsPoint(QuestButtonT[0], FRAMEPOINT_BOTTOMRIGHT, 0.262110, 0.457480)
set BackdropQuestButtonT[0] = BlzCreateFrameByType("BACKDROP", "BackdropQuestButtonT[0]", QuestButtonT[0], "", 0)
call BlzFrameSetAllPoints(BackdropQuestButtonT[0], QuestButtonT[0])
call BlzFrameSetTexture(BackdropQuestButtonT[0], "QuestUIB.blp", 0, true)
set TriggerQuestButtonT[0] = CreateTrigger() 
 call BlzTriggerRegisterFrameEvent(TriggerQuestButtonT[0], QuestButtonT[0], FRAMEEVENT_CONTROL_CLICK) 
 call TriggerAddAction(TriggerQuestButtonT[0], function QuestButtonT00Func) 
set QuestButtonT[1] = BlzCreateFrame("IconButtonTemplate", QuestUIBD, 0, 0)
call BlzFrameSetAbsPoint(QuestButtonT[1], FRAMEPOINT_TOPLEFT, 0.271340, 0.485853)
call BlzFrameSetAbsPoint(QuestButtonT[1], FRAMEPOINT_BOTTOMRIGHT, 0.401340, 0.458040)
set BackdropQuestButtonT[1] = BlzCreateFrameByType("BACKDROP", "BackdropQuestButtonT[1]", QuestButtonT[1], "", 0)
call BlzFrameSetAllPoints(BackdropQuestButtonT[1], QuestButtonT[1])
call BlzFrameSetTexture(BackdropQuestButtonT[1], "QuestUIB.blp", 0, true)
set TriggerQuestButtonT[1] = CreateTrigger() 
 call BlzTriggerRegisterFrameEvent(TriggerQuestButtonT[1], QuestButtonT[1], FRAMEEVENT_CONTROL_CLICK) 
 call TriggerAddAction(TriggerQuestButtonT[1], function QuestButtonT01Func) 
set QuestButtonT[2] = BlzCreateFrame("IconButtonTemplate", QuestUIBD, 0, 0)
call BlzFrameSetAbsPoint(QuestButtonT[2], FRAMEPOINT_TOPLEFT, 0.132110, 0.457480)
call BlzFrameSetAbsPoint(QuestButtonT[2], FRAMEPOINT_BOTTOMRIGHT, 0.262110, 0.429667)
set BackdropQuestButtonT[2] = BlzCreateFrameByType("BACKDROP", "BackdropQuestButtonT[2]", QuestButtonT[2], "", 0)
call BlzFrameSetAllPoints(BackdropQuestButtonT[2], QuestButtonT[2])
call BlzFrameSetTexture(BackdropQuestButtonT[2], "QuestUIB.blp", 0, true)
set TriggerQuestButtonT[2] = CreateTrigger() 
 call BlzTriggerRegisterFrameEvent(TriggerQuestButtonT[2], QuestButtonT[2], FRAMEEVENT_CONTROL_CLICK) 
 call TriggerAddAction(TriggerQuestButtonT[2], function QuestButtonT02Func) 
set QuestButtonT[3] = BlzCreateFrame("IconButtonTemplate", QuestUIBD, 0, 0)
call BlzFrameSetAbsPoint(QuestButtonT[3], FRAMEPOINT_TOPLEFT, 0.271340, 0.458022)
call BlzFrameSetAbsPoint(QuestButtonT[3], FRAMEPOINT_BOTTOMRIGHT, 0.401340, 0.430210)
set BackdropQuestButtonT[3] = BlzCreateFrameByType("BACKDROP", "BackdropQuestButtonT[3]", QuestButtonT[3], "", 0)
call BlzFrameSetAllPoints(BackdropQuestButtonT[3], QuestButtonT[3])
call BlzFrameSetTexture(BackdropQuestButtonT[3], "QuestUIB.blp", 0, true)
set TriggerQuestButtonT[3] = CreateTrigger() 
 call BlzTriggerRegisterFrameEvent(TriggerQuestButtonT[3], QuestButtonT[3], FRAMEEVENT_CONTROL_CLICK) 
 call TriggerAddAction(TriggerQuestButtonT[3], function QuestButtonT03Func) 
set QuestButtonT[4] = BlzCreateFrame("IconButtonTemplate", QuestUIBD, 0, 0)
call BlzFrameSetAbsPoint(QuestButtonT[4], FRAMEPOINT_TOPLEFT, 0.132110, 0.429668)
call BlzFrameSetAbsPoint(QuestButtonT[4], FRAMEPOINT_BOTTOMRIGHT, 0.262110, 0.401855)
set BackdropQuestButtonT[4] = BlzCreateFrameByType("BACKDROP", "BackdropQuestButtonT[4]", QuestButtonT[4], "", 0)
call BlzFrameSetAllPoints(BackdropQuestButtonT[4], QuestButtonT[4])
call BlzFrameSetTexture(BackdropQuestButtonT[4], "QuestUIB.blp", 0, true)
set TriggerQuestButtonT[4] = CreateTrigger() 
 call BlzTriggerRegisterFrameEvent(TriggerQuestButtonT[4], QuestButtonT[4], FRAMEEVENT_CONTROL_CLICK) 
 call TriggerAddAction(TriggerQuestButtonT[4], function QuestButtonT04Func) 
set QuestButtonT[5] = BlzCreateFrame("IconButtonTemplate", QuestUIBD, 0, 0)
call BlzFrameSetAbsPoint(QuestButtonT[5], FRAMEPOINT_TOPLEFT, 0.271340, 0.430193)
call BlzFrameSetAbsPoint(QuestButtonT[5], FRAMEPOINT_BOTTOMRIGHT, 0.401340, 0.402380)
set BackdropQuestButtonT[5] = BlzCreateFrameByType("BACKDROP", "BackdropQuestButtonT[5]", QuestButtonT[5], "", 0)
call BlzFrameSetAllPoints(BackdropQuestButtonT[5], QuestButtonT[5])
call BlzFrameSetTexture(BackdropQuestButtonT[5], "QuestUIB.blp", 0, true)
set TriggerQuestButtonT[5] = CreateTrigger() 
 call BlzTriggerRegisterFrameEvent(TriggerQuestButtonT[5], QuestButtonT[5], FRAMEEVENT_CONTROL_CLICK) 
 call TriggerAddAction(TriggerQuestButtonT[5], function QuestButtonT05Func) 
set QuestButtonT[6] = BlzCreateFrame("IconButtonTemplate", QuestUIBD, 0, 0)
call BlzFrameSetAbsPoint(QuestButtonT[6], FRAMEPOINT_TOPLEFT, 0.132110, 0.401855)
call BlzFrameSetAbsPoint(QuestButtonT[6], FRAMEPOINT_BOTTOMRIGHT, 0.262110, 0.374042)
set BackdropQuestButtonT[6] = BlzCreateFrameByType("BACKDROP", "BackdropQuestButtonT[6]", QuestButtonT[6], "", 0)
call BlzFrameSetAllPoints(BackdropQuestButtonT[6], QuestButtonT[6])
call BlzFrameSetTexture(BackdropQuestButtonT[6], "QuestUIB.blp", 0, true)
set TriggerQuestButtonT[6] = CreateTrigger() 
 call BlzTriggerRegisterFrameEvent(TriggerQuestButtonT[6], QuestButtonT[6], FRAMEEVENT_CONTROL_CLICK) 
 call TriggerAddAction(TriggerQuestButtonT[6], function QuestButtonT06Func) 
set QuestButtonT[7] = BlzCreateFrame("IconButtonTemplate", QuestUIBD, 0, 0)
call BlzFrameSetAbsPoint(QuestButtonT[7], FRAMEPOINT_TOPLEFT, 0.271340, 0.402363)
call BlzFrameSetAbsPoint(QuestButtonT[7], FRAMEPOINT_BOTTOMRIGHT, 0.401340, 0.374550)
set BackdropQuestButtonT[7] = BlzCreateFrameByType("BACKDROP", "BackdropQuestButtonT[7]", QuestButtonT[7], "", 0)
call BlzFrameSetAllPoints(BackdropQuestButtonT[7], QuestButtonT[7])
call BlzFrameSetTexture(BackdropQuestButtonT[7], "QuestUIB.blp", 0, true)
set TriggerQuestButtonT[7] = CreateTrigger() 
 call BlzTriggerRegisterFrameEvent(TriggerQuestButtonT[7], QuestButtonT[7], FRAMEEVENT_CONTROL_CLICK) 
 call TriggerAddAction(TriggerQuestButtonT[7], function QuestButtonT07Func) 
set QuestButtonT[8] = BlzCreateFrame("IconButtonTemplate", QuestUIBD, 0, 0)
call BlzFrameSetAbsPoint(QuestButtonT[8], FRAMEPOINT_TOPLEFT, 0.132110, 0.374042)
call BlzFrameSetAbsPoint(QuestButtonT[8], FRAMEPOINT_BOTTOMRIGHT, 0.262110, 0.346230)
set BackdropQuestButtonT[8] = BlzCreateFrameByType("BACKDROP", "BackdropQuestButtonT[8]", QuestButtonT[8], "", 0)
call BlzFrameSetAllPoints(BackdropQuestButtonT[8], QuestButtonT[8])
call BlzFrameSetTexture(BackdropQuestButtonT[8], "QuestUIB.blp", 0, true)
set TriggerQuestButtonT[8] = CreateTrigger() 
 call BlzTriggerRegisterFrameEvent(TriggerQuestButtonT[8], QuestButtonT[8], FRAMEEVENT_CONTROL_CLICK) 
 call TriggerAddAction(TriggerQuestButtonT[8], function QuestButtonT08Func) 
set QuestButtonT[9] = BlzCreateFrame("IconButtonTemplate", QuestUIBD, 0, 0)
call BlzFrameSetAbsPoint(QuestButtonT[9], FRAMEPOINT_TOPLEFT, 0.271340, 0.374532)
call BlzFrameSetAbsPoint(QuestButtonT[9], FRAMEPOINT_BOTTOMRIGHT, 0.401340, 0.346720)
set BackdropQuestButtonT[9] = BlzCreateFrameByType("BACKDROP", "BackdropQuestButtonT[9]", QuestButtonT[9], "", 0)
call BlzFrameSetAllPoints(BackdropQuestButtonT[9], QuestButtonT[9])
call BlzFrameSetTexture(BackdropQuestButtonT[9], "QuestUIB.blp", 0, true)
set TriggerQuestButtonT[9] = CreateTrigger() 
 call BlzTriggerRegisterFrameEvent(TriggerQuestButtonT[9], QuestButtonT[9], FRAMEEVENT_CONTROL_CLICK) 
 call TriggerAddAction(TriggerQuestButtonT[9], function QuestButtonT09Func) 
set QuestButtonT[10] = BlzCreateFrame("IconButtonTemplate", QuestUIBD, 0, 0)
call BlzFrameSetAbsPoint(QuestButtonT[10], FRAMEPOINT_TOPLEFT, 0.132110, 0.346230)
call BlzFrameSetAbsPoint(QuestButtonT[10], FRAMEPOINT_BOTTOMRIGHT, 0.262110, 0.318418)
set BackdropQuestButtonT[10] = BlzCreateFrameByType("BACKDROP", "BackdropQuestButtonT[10]", QuestButtonT[10], "", 0)
call BlzFrameSetAllPoints(BackdropQuestButtonT[10], QuestButtonT[10])
call BlzFrameSetTexture(BackdropQuestButtonT[10], "QuestUIB.blp", 0, true)
set TriggerQuestButtonT[10] = CreateTrigger() 
 call BlzTriggerRegisterFrameEvent(TriggerQuestButtonT[10], QuestButtonT[10], FRAMEEVENT_CONTROL_CLICK) 
 call TriggerAddAction(TriggerQuestButtonT[10], function QuestButtonT10Func) 
set QuestButtonT[11] = BlzCreateFrame("IconButtonTemplate", QuestUIBD, 0, 0)
call BlzFrameSetAbsPoint(QuestButtonT[11], FRAMEPOINT_TOPLEFT, 0.271340, 0.346703)
call BlzFrameSetAbsPoint(QuestButtonT[11], FRAMEPOINT_BOTTOMRIGHT, 0.401340, 0.318890)
set BackdropQuestButtonT[11] = BlzCreateFrameByType("BACKDROP", "BackdropQuestButtonT[11]", QuestButtonT[11], "", 0)
call BlzFrameSetAllPoints(BackdropQuestButtonT[11], QuestButtonT[11])
call BlzFrameSetTexture(BackdropQuestButtonT[11], "QuestUIB.blp", 0, true)
set TriggerQuestButtonT[11] = CreateTrigger() 
 call BlzTriggerRegisterFrameEvent(TriggerQuestButtonT[11], QuestButtonT[11], FRAMEEVENT_CONTROL_CLICK) 
 call TriggerAddAction(TriggerQuestButtonT[11], function QuestButtonT11Func) 
set QuestButtonT[12] = BlzCreateFrame("IconButtonTemplate", QuestUIBD, 0, 0)
call BlzFrameSetAbsPoint(QuestButtonT[12], FRAMEPOINT_TOPLEFT, 0.132110, 0.318418)
call BlzFrameSetAbsPoint(QuestButtonT[12], FRAMEPOINT_BOTTOMRIGHT, 0.262110, 0.290605)
set BackdropQuestButtonT[12] = BlzCreateFrameByType("BACKDROP", "BackdropQuestButtonT[12]", QuestButtonT[12], "", 0)
call BlzFrameSetAllPoints(BackdropQuestButtonT[12], QuestButtonT[12])
call BlzFrameSetTexture(BackdropQuestButtonT[12], "QuestUIB.blp", 0, true)
set TriggerQuestButtonT[12] = CreateTrigger() 
 call BlzTriggerRegisterFrameEvent(TriggerQuestButtonT[12], QuestButtonT[12], FRAMEEVENT_CONTROL_CLICK) 
 call TriggerAddAction(TriggerQuestButtonT[12], function QuestButtonT12Func) 
set QuestButtonT[13] = BlzCreateFrame("IconButtonTemplate", QuestUIBD, 0, 0)
call BlzFrameSetAbsPoint(QuestButtonT[13], FRAMEPOINT_TOPLEFT, 0.271340, 0.318873)
call BlzFrameSetAbsPoint(QuestButtonT[13], FRAMEPOINT_BOTTOMRIGHT, 0.401340, 0.291060)
set BackdropQuestButtonT[13] = BlzCreateFrameByType("BACKDROP", "BackdropQuestButtonT[13]", QuestButtonT[13], "", 0)
call BlzFrameSetAllPoints(BackdropQuestButtonT[13], QuestButtonT[13])
call BlzFrameSetTexture(BackdropQuestButtonT[13], "QuestUIB.blp", 0, true)
set TriggerQuestButtonT[13] = CreateTrigger() 
 call BlzTriggerRegisterFrameEvent(TriggerQuestButtonT[13], QuestButtonT[13], FRAMEEVENT_CONTROL_CLICK) 
 call TriggerAddAction(TriggerQuestButtonT[13], function QuestButtonT13Func) 
set QuestBNameT00T[0] = BlzCreateFrameByType("TEXT", "name", QuestButtonT[0], "", 0)
call BlzFrameSetAbsPoint(QuestBNameT00T[0], FRAMEPOINT_TOPLEFT, 0.132110, 0.485850)
call BlzFrameSetAbsPoint(QuestBNameT00T[0], FRAMEPOINT_BOTTOMRIGHT, 0.262440, 0.458580)
call BlzFrameSetText(QuestBNameT00T[0], "|cffffffff|r")
call BlzFrameSetEnable(QuestBNameT00T[0], false)
call BlzFrameSetScale(QuestBNameT00T[0], 0.858)
call BlzFrameSetTextAlignment(QuestBNameT00T[0], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestBNameT00T[1] = BlzCreateFrameByType("TEXT", "name", QuestButtonT[1], "", 0)
call BlzFrameSetAbsPoint(QuestBNameT00T[1], FRAMEPOINT_TOPLEFT, 0.271340, 0.485850)
call BlzFrameSetAbsPoint(QuestBNameT00T[1], FRAMEPOINT_BOTTOMRIGHT, 0.401670, 0.458580)
call BlzFrameSetText(QuestBNameT00T[1], "|cffffffff|r")
call BlzFrameSetEnable(QuestBNameT00T[1], false)
call BlzFrameSetScale(QuestBNameT00T[1], 0.858)
call BlzFrameSetTextAlignment(QuestBNameT00T[1], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestBNameT00T[2] = BlzCreateFrameByType("TEXT", "name", QuestButtonT[2], "", 0)
call BlzFrameSetAbsPoint(QuestBNameT00T[2], FRAMEPOINT_TOPLEFT, 0.132110, 0.458020)
call BlzFrameSetAbsPoint(QuestBNameT00T[2], FRAMEPOINT_BOTTOMRIGHT, 0.262440, 0.430750)
call BlzFrameSetText(QuestBNameT00T[2], "|cffffffff|r")
call BlzFrameSetEnable(QuestBNameT00T[2], false)
call BlzFrameSetScale(QuestBNameT00T[2], 0.858)
call BlzFrameSetTextAlignment(QuestBNameT00T[2], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestBNameT00T[3] = BlzCreateFrameByType("TEXT", "name", QuestButtonT[3], "", 0)
call BlzFrameSetAbsPoint(QuestBNameT00T[3], FRAMEPOINT_TOPLEFT, 0.271340, 0.458020)
call BlzFrameSetAbsPoint(QuestBNameT00T[3], FRAMEPOINT_BOTTOMRIGHT, 0.401670, 0.430750)
call BlzFrameSetText(QuestBNameT00T[3], "|cffffffff|r")
call BlzFrameSetEnable(QuestBNameT00T[3], false)
call BlzFrameSetScale(QuestBNameT00T[3], 0.858)
call BlzFrameSetTextAlignment(QuestBNameT00T[3], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestBNameT00T[4] = BlzCreateFrameByType("TEXT", "name", QuestButtonT[4], "", 0)
call BlzFrameSetAbsPoint(QuestBNameT00T[4], FRAMEPOINT_TOPLEFT, 0.132110, 0.430190)
call BlzFrameSetAbsPoint(QuestBNameT00T[4], FRAMEPOINT_BOTTOMRIGHT, 0.262440, 0.402920)
call BlzFrameSetText(QuestBNameT00T[4], "|cffffffff|r")
call BlzFrameSetEnable(QuestBNameT00T[4], false)
call BlzFrameSetScale(QuestBNameT00T[4], 0.858)
call BlzFrameSetTextAlignment(QuestBNameT00T[4], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestBNameT00T[5] = BlzCreateFrameByType("TEXT", "name", QuestButtonT[5], "", 0)
call BlzFrameSetAbsPoint(QuestBNameT00T[5], FRAMEPOINT_TOPLEFT, 0.271340, 0.430190)
call BlzFrameSetAbsPoint(QuestBNameT00T[5], FRAMEPOINT_BOTTOMRIGHT, 0.401670, 0.402920)
call BlzFrameSetText(QuestBNameT00T[5], "|cffffffff|r")
call BlzFrameSetEnable(QuestBNameT00T[5], false)
call BlzFrameSetScale(QuestBNameT00T[5], 0.858)
call BlzFrameSetTextAlignment(QuestBNameT00T[5], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestBNameT00T[6] = BlzCreateFrameByType("TEXT", "name", QuestButtonT[6], "", 0)
call BlzFrameSetAbsPoint(QuestBNameT00T[6], FRAMEPOINT_TOPLEFT, 0.132110, 0.402370)
call BlzFrameSetAbsPoint(QuestBNameT00T[6], FRAMEPOINT_BOTTOMRIGHT, 0.262440, 0.375100)
call BlzFrameSetText(QuestBNameT00T[6], "|cffffffff|r")
call BlzFrameSetEnable(QuestBNameT00T[6], false)
call BlzFrameSetScale(QuestBNameT00T[6], 0.858)
call BlzFrameSetTextAlignment(QuestBNameT00T[6], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestBNameT00T[7] = BlzCreateFrameByType("TEXT", "name", QuestButtonT[7], "", 0)
call BlzFrameSetAbsPoint(QuestBNameT00T[7], FRAMEPOINT_TOPLEFT, 0.271340, 0.402370)
call BlzFrameSetAbsPoint(QuestBNameT00T[7], FRAMEPOINT_BOTTOMRIGHT, 0.401670, 0.375100)
call BlzFrameSetText(QuestBNameT00T[7], "|cffffffff|r")
call BlzFrameSetEnable(QuestBNameT00T[7], false)
call BlzFrameSetScale(QuestBNameT00T[7], 0.858)
call BlzFrameSetTextAlignment(QuestBNameT00T[7], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestBNameT00T[8] = BlzCreateFrameByType("TEXT", "name", QuestButtonT[8], "", 0)
call BlzFrameSetAbsPoint(QuestBNameT00T[8], FRAMEPOINT_TOPLEFT, 0.132110, 0.374540)
call BlzFrameSetAbsPoint(QuestBNameT00T[8], FRAMEPOINT_BOTTOMRIGHT, 0.262440, 0.347270)
call BlzFrameSetText(QuestBNameT00T[8], "|cffffffff|r")
call BlzFrameSetEnable(QuestBNameT00T[8], false)
call BlzFrameSetScale(QuestBNameT00T[8], 0.858)
call BlzFrameSetTextAlignment(QuestBNameT00T[8], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestBNameT00T[9] = BlzCreateFrameByType("TEXT", "name", QuestButtonT[9], "", 0)
call BlzFrameSetAbsPoint(QuestBNameT00T[9], FRAMEPOINT_TOPLEFT, 0.271340, 0.374540)
call BlzFrameSetAbsPoint(QuestBNameT00T[9], FRAMEPOINT_BOTTOMRIGHT, 0.401670, 0.347270)
call BlzFrameSetText(QuestBNameT00T[9], "|cffffffff|r")
call BlzFrameSetEnable(QuestBNameT00T[9], false)
call BlzFrameSetScale(QuestBNameT00T[9], 0.858)
call BlzFrameSetTextAlignment(QuestBNameT00T[9], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestBNameT00T[10] = BlzCreateFrameByType("TEXT", "name", QuestButtonT[10], "", 0)
call BlzFrameSetAbsPoint(QuestBNameT00T[10], FRAMEPOINT_TOPLEFT, 0.132110, 0.346710)
call BlzFrameSetAbsPoint(QuestBNameT00T[10], FRAMEPOINT_BOTTOMRIGHT, 0.262440, 0.319440)
call BlzFrameSetText(QuestBNameT00T[10], "|cffffffff|r")
call BlzFrameSetEnable(QuestBNameT00T[10], false)
call BlzFrameSetScale(QuestBNameT00T[10], 0.858)
call BlzFrameSetTextAlignment(QuestBNameT00T[10], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestBNameT00T[11] = BlzCreateFrameByType("TEXT", "name", QuestButtonT[11], "", 0)
call BlzFrameSetAbsPoint(QuestBNameT00T[11], FRAMEPOINT_TOPLEFT, 0.271340, 0.346710)
call BlzFrameSetAbsPoint(QuestBNameT00T[11], FRAMEPOINT_BOTTOMRIGHT, 0.401670, 0.319440)
call BlzFrameSetText(QuestBNameT00T[11], "|cffffffff|r")
call BlzFrameSetEnable(QuestBNameT00T[11], false)
call BlzFrameSetScale(QuestBNameT00T[11], 0.858)
call BlzFrameSetTextAlignment(QuestBNameT00T[11], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestBNameT00T[12] = BlzCreateFrameByType("TEXT", "name", QuestButtonT[12], "", 0)
call BlzFrameSetAbsPoint(QuestBNameT00T[12], FRAMEPOINT_TOPLEFT, 0.132110, 0.318880)
call BlzFrameSetAbsPoint(QuestBNameT00T[12], FRAMEPOINT_BOTTOMRIGHT, 0.262440, 0.291610)
call BlzFrameSetText(QuestBNameT00T[12], "|cffffffff|r")
call BlzFrameSetEnable(QuestBNameT00T[12], false)
call BlzFrameSetScale(QuestBNameT00T[12], 0.858)
call BlzFrameSetTextAlignment(QuestBNameT00T[12], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
set QuestBNameT00T[13] = BlzCreateFrameByType("TEXT", "name", QuestButtonT[13], "", 0)
call BlzFrameSetAbsPoint(QuestBNameT00T[13], FRAMEPOINT_TOPLEFT, 0.271340, 0.318880)
call BlzFrameSetAbsPoint(QuestBNameT00T[13], FRAMEPOINT_BOTTOMRIGHT, 0.401670, 0.291610)
call BlzFrameSetText(QuestBNameT00T[13], "|cffffffff|r")
call BlzFrameSetEnable(QuestBNameT00T[13], false)
call BlzFrameSetScale(QuestBNameT00T[13], 0.858)
call BlzFrameSetTextAlignment(QuestBNameT00T[13], TEXT_JUSTIFY_CENTER, TEXT_JUSTIFY_MIDDLE)
endfunction 
endlibrary
 
Last edited:
i also saw on your tutorial about this, but in lua, so i am unsure if i set it right on jass but it saved no issue however still doesnt show inventory

JASS:
local framehandle SUI = BlzCreateFrameByType("SIMPLEFRAME", "", BlzGetFrameByName("ConsoleUI", 0), "", 0)
call BlzFrameSetVisible(SUI, false)
call BlzFrameSetVisible(BlzFrameGetParent(BlzGetFrameByName("SimpleInfoPanelUnitDetail", 0)), true)
call BlzFrameSetParent(BlzGetFrameByName("SimpleInfoPanelUnitDetail", 0), SUI)
This hides the single unit selection Frame (Unit Infos), but it does not show the inventory.



Adding
JASS:
call BlzFrameSetVisible(BlzFrameGetParent(BlzGetFrameByName("SimpleInfoPanelUnitDetail", 0)), true)
didnt work
This needs to happen before "SimpleInfoPanelUnitDetail" changes Parent (while it has the default Parent), but after you used BlzHideOriginFrames(true) which in case of UIUtils is FullscreenMode.

I suggest to remove the line which changes the parent of InventoryButton:
Custom script: call BlzFrameSetParent(BlzFrameGetParent(BlzGetOriginFrame(ORIGIN_FRAME_ITEM_BUTTON, 0)), BlzGetFrameByName("ConsoleUI", 0))
 
Level 7
Joined
Nov 6, 2019
Messages
186
Ty for help got my ui and inv working, unsure how to show build order tab in a custom ui, when u click train unit 3 times u can click to cancel one of the training units, not sure how to do that, but not important :p i will look more into the big ui tutorial if theres anything about it
 
Level 7
Joined
Nov 6, 2019
Messages
186
Ok question, I been away from WC3 for some time, come back and worked on my map more, recently decided to restart map, with CustomUI so I went to my map where the ui worked, besides building upgrades viewing and cancelling.

Was gonna try work on the building stats, upgrades and be able to cancel research so on

And now my UI before editing no longer works

So wondering did UICreation get changed in a WC3 update, if so what/how so I can try get it working again.
 
Top