EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   ProfitUI (https://www.eq2interface.com/forums/forumdisplay.php?f=41)
-   -   Harvesting skills display ? (https://www.eq2interface.com/forums/showthread.php?t=13109)

Mdall 07-11-2009 01:51 PM

Harvesting skills display ?
 
Hi guys,

I'm looking for a way to display Harvesting skills on my bottom bar in Profit UI. Ideally, i would like to have <current skill>/<minimum skill for current zone> on all five harvesting skills. As i am a complete newbie in XML, could anyone give some advice on how to do it ? Or does it exist already ?
Thanks in advance !

gm9 07-12-2009 06:20 AM

Not possible.

Zonx 07-12-2009 06:31 AM

Possible, but tricky.

To make this happen you'll have to create some hidden buttons to capture and pass values to your statbar. Also add code to....
Persona/MainPage/TabPages/Skills/SkillTemplate/Name
to activate those buttons when a tradeskill label is shown

Seudocode
Code:

<button Name="SkillBtn1" OnActivate="Parent.Parent.Parent.Parent.Parent.Parent.SKILLBAR.FishText.Text = SkillVal
Activated = false
" Visible="false"/>

<button Name="SkillBtn2" OnActivate="Parent.Parent.Parent.Parent.Parent.Parent.SKILLBAR.ForestText.Text = SkillVal
Activated = false
" Visible="false"/>

<Text Name="Name" OnShow="
CND1 = Text == 'Fishing'
Parent.SkillBtn1.SkillVal = Parent.Status.Text
Parent.SkillBtn1.Activated = CND1 ? true : false

CND2 = Text == 'Foresting'
Parent.SkillBtn2.SkillVal = Parent.Status.Text
Parent.SkillBtn2.Activated = CND2 ? true : false
" WhateverCodeIsAlreadyOnThisTextObject />

Make additional buttons and conditional code to handle each skill.

You may find that the "Name" text object never triggers the OnShow script. If so, try attaching the script to the parent "SkillTemplate" Page object. In this case you'll need to adjust the pathing within your scripts.


All times are GMT -5. The time now is 08:48 PM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI