View Single Post
  #2  
Unread 03-10-2005, 07:24 PM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

Yes very possible. Here's the mod I did.

I've since realized the TS vitality overflow marker was broken and have fixed it to work in my next release.

The trick here is that each OverflowMarker auto show/hide is dependant on having AdventureXP and TradeskillXP named parents. Only 1 of these parent objects will be visible based on the right-click setting.

The workaround I came up with was to include both bars in both parent pages. The tradeskill marker inside the AdventureXP page gets named something else. Likewise for the adventure marker inside the TradeskillXP page. The original markers then send visibility commands to their counterpart in the opposing page. Example...

Code:
AdventureXP
  AdvBar
  OverflowMarker
     OnShow=parent.parent.TradeskillXP.AdvOverflowMarker.visible=true
     OnHide=parent.parent.TradeskillXP.AdvOverflowMarker.visible=false
  TSBar
  TSOverflowMarker

TradeskillXP
  TSBar
  OverflowMarker
     OnShow=parent.parent.AdventureXP.TSOverflowMarker.visible=true
     OnHide=parent.parent.AdventureXP.TSOverflowMarker.visible=false
  AdvBar
  AdvOverflowMarker
Reply With Quote