Thread: Minimap Plugin
View Single Post
  #11  
Unread 04-09-2005, 01:27 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

Couple ways to do this...

External button approach:
Code:
OnPress="show_window(MainHUD.Map) show_window(MainHUD.Map)
parent.parent.Map.TM_Plugins.TM_Plugin1.DockButton.TM_DockButton.Activated=true"
The above code assumes the button is at the top of a MainHud window. Add parent references as needed if its nested farther down. It MUST be in MainHud.

Plugin Hack approach:
Insert the following button into Plugin1.xml just after the opening page code.
Code:
<button Name="OnShowWindow" OnActivate="TM_DockButton.Activated=true
Activated=false">
The above method will ALWAYS open the map window in cropped mode. Just use the M key noramlly. You can click the undock button to uncrop the map at any time

Last edited by Zonx : 04-09-2005 at 01:29 PM.
Reply With Quote