Class.ShortName question

Forum for posting custom UIs, portions of UIs, and HUD stuff using MQ's enhancements.

Moderator: MacroQuest Developers

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Class.ShortName question

Post by JimJohnson » Wed Sep 29, 2004 12:27 pm

below is the code I am using for Class.ShortName for my playerwindow. Only problem is with Enchanter in group slot one it shows only EN instead of ENC. Did I code it wrong ?

Edit - Only Showing first 2 letters for all classes when pulling Class.ShortName

Code: Select all

	<Label item="Group_Class">
		<ScreenID>MQ_G_Class1</ScreenID>
		<Font>1</Font>
		<EQType>9999</EQType>
		<TooltipReference>${Group[1].Class.ShortName}</TooltipReference>
		<Location>
			<X>50</X>
			<Y>42</Y>
		</Location>
		<Size>
			<CX>18</CX>
			<CY>12</CY>
		</Size>
		<Text>ClassShortName</Text>
		<TextColor>
			<R>255</R>
			<G>255</G>
			<B>255</B>
		</TextColor>
		<NoWrap>false</NoWrap>
		<AlignCenter>false</AlignCenter>
		<AlignRight>false</AlignRight>
		<AlignLeft>false</AlignLeft>
	</Label>

bats
orc pawn
orc pawn
Posts: 15
Joined: Tue Jul 20, 2004 1:35 am

Post by bats » Wed Sep 29, 2004 7:31 pm

i think its becsuse the size u speifyed is too small
<Size>
<CX>18</CX>
<CY>12</CY>
</Size>
is what u have try useing

<Size>
<CX>18</CX>
<CY>30</CY>
</Size>

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Post by JimJohnson » Wed Sep 29, 2004 8:27 pm

yea that was it thanks bats