View Single Post
12/15/22, 09:21 PM   #6
gandalf.legris
Join Date: Dec 2022
Posts: 5
More information

Hello when I wrote you these few lines, I was just beginning to have the idea of making my first add on. So I got interested in XML and started drawing my idea. My idea is to display all members of a trial(vHRC, vSS...) and add information to facilitate the management of the group management. That's why I asked you how to display the list of group members instead of Player2, Player3....

In a trial there are always 12 players.


I need to figure out how to fetch the list of players to figure out how to loop and handle the display in my XML. If you can help me that would be great


Code:
<GuiXml> 
   <Controls>
   <TopLevelControl name="WypeInProgessWindow" clampedToScreen="true" mouseEnabled="true" movable="true" hidden="false">	
      <Dimensions x="64" y="64" />
      <Anchor point="TOPLEFT" relativeTo="GuiRoot" relativePoint="CENTER" offsetX="0" offsetY="0"/>
      <Controls>
	  <!-- GROUPE 1 -->
	  <!-- TANK -->
         <Label name="$(parent)LabelNom1" font="ZoFontWinH5" color="ffffff" text="@Player1" verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="130" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="10" offsetY="40"/>
         </Label>
		 <Backdrop name="$(parent)Backdrop1" edgeColor="000000" centerColor="2b950b" alpha="0.6" >
            <Dimensions x="130" y="30" />
            <Anchor point="TOPLEFT"  relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
		 <Backdrop name="$(parent)UltimeA1" edgeColor="FF0000" alpha="0.6" >
            <Dimensions x="30" y="30" />
            <Anchor point="TOPLEFT" offsetX="135" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="2" />
         </Backdrop>
		 <Backdrop name="$(parent)UltimeB1" edgeColor="FF0000" alpha="0.6" >
            <Dimensions x="30" y="30" />
            <Anchor point="TOPLEFT" offsetX="170" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="2" />
         </Backdrop>
		 <!-- nova /esoui/art/icons/ability_templar_nova.dds -->
		 <Texture name="$(parent)UltimeA1Picture1" textureFile="/esoui/art/icons/ability_ava_003_a.dds" tier="HIGH">
			<Dimensions x="26" y="26"/>
			<Anchor point="TOPLEFT" relativeTo="$(parent)" offsetX="137" offsetY="2" />
		</Texture>
		<Texture name="$(parent)UltimeB1Picture1" textureFile="/esoui/art/icons/ability_ava_006_b.dds" tier="HIGH">
			<Dimensions x="26" y="26"/>
			<Anchor point="TOPLEFT" relativeTo="$(parent)" offsetX="172" offsetY="2" />
		</Texture> 
		 <!-- TANK -->
		 <!-- Pour animer plus tard <StatusBar name="$(parent)StatusBar" color="8A2BE2" alpha="1">
            <Dimensions x="200" y="30" />
            <Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="0" offsetY="0"/>
            <Limits min="0" max="100" />
         </StatusBar> -->
	  <!-- HEAL -->
		 <Label name="$(parent)LabelNom2" font="ZoFontWinH5" color="ffffff" text="@Player2" verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
			<Dimensions x="130" y="50" />
			<Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="10" offsetY="80"/>
		 </Label>
*		 <Backdrop name="$(parent)Backdrop2" edgeColor="000000" centerColor="6495ED" alpha="0.6" >
            <Dimensions x="130" y="30" />
            <Anchor point="TOPLEFT" offsetY="40" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
		 <Backdrop name="$(parent)UltimeA2" edgeColor="FF0000" alpha="0.6" >
            <Dimensions x="30" y="30" />
            <Anchor point="TOPLEFT" offsetX="135" offsetY="40" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
		 <Backdrop name="$(parent)UltimeB2" edgeColor="FF0000" alpha="0.6" >
            <Dimensions x="30" y="30" />
            <Anchor point="TOPLEFT" offsetX="170" offsetY="40" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
         
	  <!-- DPS -->
		 <Label name="$(parent)LabelNom3" font="ZoFontWinH5" color="ffffff" text="@Player3" verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="130" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="10" offsetY="120"/>
         </Label>
		 <Backdrop name="$(parent)Backdrop3" edgeColor="000000" centerColor="6495ED" alpha="0.6" >
            <Dimensions x="130" y="30" />
            <Anchor point="TOPLEFT" offsetY="80" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
		 <Backdrop name="$(parent)UltimeA3" edgeColor="FF0000" alpha="0.6" >
            <Dimensions x="30" y="30" />
            <Anchor point="TOPLEFT" offsetX="135" offsetY="80" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
		 <Backdrop name="$(parent)UltimeB3" edgeColor="FF0000" alpha="0.6" >
            <Dimensions x="30" y="30" />
            <Anchor point="TOPLEFT" offsetX="170" offsetY="80" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
        
		 <Label name="$(parent)LabelNom4" font="ZoFontWinH5" color="ffffff" text="@Player4" verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="130" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="10" offsetY="160"/>
         </Label>
		 <Backdrop name="$(parent)Backdrop4" edgeColor="000000" centerColor="6495ED" alpha="0.6" >
            <Dimensions x="130" y="30" />
            <Anchor point="TOPLEFT" offsetY="120" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
		 <Backdrop name="$(parent)UltimeA4" edgeColor="FF0000" alpha="0.6" >
            <Dimensions x="30" y="30" />
            <Anchor point="TOPLEFT" offsetX="135" offsetY="120" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
		 <Backdrop name="$(parent)UltimeB4" edgeColor="FF0000" alpha="0.6" >
            <Dimensions x="30" y="30" />
            <Anchor point="TOPLEFT" offsetX="170" offsetY="120" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
         
		 <Label name="$(parent)LabelNom5" font="ZoFontWinH5" color="ffffff" text="@Player5" verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="130" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="10" offsetY="200"/>
         </Label>
		 <Backdrop name="$(parent)Backdrop5" edgeColor="000000" centerColor="6495ED" alpha="0.6" >
            <Dimensions x="130" y="30" />
            <Anchor point="TOPLEFT" offsetY="160" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
		 <Backdrop name="$(parent)UltimeA5" edgeColor="FF0000" alpha="0.6" >
            <Dimensions x="30" y="30" />
            <Anchor point="TOPLEFT" offsetX="135" offsetY="160" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
		 <Backdrop name="$(parent)UltimeB5" edgeColor="FF0000" alpha="0.6" >
            <Dimensions x="30" y="30" />
            <Anchor point="TOPLEFT" offsetX="170" offsetY="160" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
         
		 <Label name="$(parent)LabelNom6" font="ZoFontWinH5" color="ffffff" text="@Player6" verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="130" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="10" offsetY="240"/>
         </Label>
		 <Backdrop name="$(parent)Backdrop6" edgeColor="000000" centerColor="6495ED" alpha="0.6" >
            <Dimensions x="130" y="30" />
            <Anchor point="TOPLEFT" offsetY="200" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
		 <Backdrop name="$(parent)UltimeA6" edgeColor="FF0000" alpha="0.6" >
            <Dimensions x="30" y="30" />
            <Anchor point="TOPLEFT" offsetX="135" offsetY="200" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
		 <Backdrop name="$(parent)UltimeB6" edgeColor="FF0000" alpha="0.6" >
            <Dimensions x="30" y="30" />
            <Anchor point="TOPLEFT" offsetX="170" offsetY="200" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
         
	<!-- GROUPE 2 -->
	  <!-- TANK -->
		 <Label name="$(parent)LabelNom7" font="ZoFontWinH5" color="ffffff" text="@Player7" verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="130" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="230" offsetY="40"/>
         </Label>
         <Backdrop name="$(parent)Backdrop7" edgeColor="000000" centerColor="6495ED" alpha="0.6" >
            <Dimensions x="130" y="30" />
            <Anchor point="TOPLEFT" offsetX="210" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
		 
	  <!-- HEAL -->
		 <Label name="$(parent)LabelNom8" font="ZoFontWinH5" color="ffffff" text="@Player8" verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="130" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="230" offsetY="80"/>
         </Label>
*		 <Backdrop name="$(parent)Backdrop8" edgeColor="000000" centerColor="6495ED" alpha="0.6" >
            <Dimensions x="130" y="30" />
            <Anchor point="TOPLEFT" offsetY="40" offsetX="210" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
         
	  <!-- DPS -->
		 <Label name="$(parent)LabelNom9" font="ZoFontWinH5" color="ffffff" text="@Player9" verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="130" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="230" offsetY="120"/>
         </Label>
		 <Backdrop name="$(parent)Backdrop9" edgeColor="000000" centerColor="6495ED" alpha="0.6" >
            <Dimensions x="130" y="30" />
            <Anchor point="TOPLEFT" offsetY="80" offsetX="210" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
         
         <Label name="$(parent)LabelNom10" font="ZoFontWinH5" color="ffffff" text="@Player10" verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="130" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="230" offsetY="160"/>
         </Label>
		 <Backdrop name="$(parent)Backdrop10" edgeColor="000000" centerColor="6495ED" alpha="0.6" >
            <Dimensions x="130" y="30" />
            <Anchor point="TOPLEFT" offsetY="120" offsetX="210" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
		 
         <Label name="$(parent)LabelNom11" font="ZoFontWinH5" color="ffffff" text="@Player11" verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="130" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="230" offsetY="200"/>
         </Label>
		 <Backdrop name="$(parent)Backdrop11" edgeColor="000000" centerColor="6495ED" alpha="0.6" >
            <Dimensions x="130" y="30" />
            <Anchor point="TOPLEFT" offsetY="160" offsetX="210" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>
		 
         <Label name="$(parent)LabelNom12" font="ZoFontWinH5" color="ffffff" text="@Player12" verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="130" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="230" offsetY="240"/>
         </Label>
		 <Backdrop name="$(parent)Backdrop12" edgeColor="000000" centerColor="6495ED" alpha="0.6" >
            <Dimensions x="130" y="30" />
            <Anchor point="TOPLEFT" offsetY="200" offsetX="210" relativeTo="$(parent)" relativePoint="TOPLEFT"/>
            <Edge edgeSize="3" />
         </Backdrop>

         <Label name="$(parent)Label1" font="ZoFontWinH4" color="ffffff" text="Groupe 1 : " verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="130" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="5" offsetY="10"/>
         </Label>
		 <Label name="$(parent)LabelUltA1" font="ZoFontWinH4" color="ffffff" text="Ult1" verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="30" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="135" offsetY="10"/>
         </Label>
         <Label name="$(parent)LabelUltB1" font="ZoFontWinH4" color="ffffff" text="Ult2" verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="30" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="170" offsetY="10"/>
         </Label>
		 
         <Label name="$(parent)Label2" font="ZoFontWinH4" color="ffffff" text="Groupe 2 : " verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="130" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="215" offsetY="10"/>
         </Label>
         <Label name="$(parent)LabelUltA2" font="ZoFontWinH4" color="ffffff" text="Ult1" verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="30" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="335" offsetY="10"/>
         </Label>
         <Label name="$(parent)LabelUltB2" font="ZoFontWinH4" color="ffffff" text="Ult2" verticalAlignment="CENTER" horizontalAlignment="LEFT"  alpha="0.85">			
            <Dimensions x="30" y="50" />
            <Anchor point="BOTTOMLEFT"  relativeTo="$(parent)StatusBar" relativePoint="TOPLEFT" offsetX="370" offsetY="10"/>
         </Label>
		  
      </Controls>
   </TopLevelControl>
   </Controls>
</GuiXml>
  Reply With Quote