View Single Post
  #36  
Unread 03-14-2005, 11:36 PM
Talyns's Avatar
Talyns Talyns is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Everfrost
Posts: 604
Default

Quote:
Originally Posted by Quib
Sorry, I got tied up this weekend. Just logged in for my final test of EQ2MAP with your plugin code added. You'll want to get the auto-updater Talyns, and put it in an empty folder and run it to make sure you get all of the newest files. Check eq2ui_mainhud_map.xml, window_plugins.xml (this was the only filename I changed) and everything to make sure what I've done with your work is acceptable. Very little should be different; however I added it to my newest version by hand so you might wanna make sure I didn't miss anything.
No need to apologize..

Looks and works right =)

I found a couple minor things I need to tweak on the Minimap Plugin then I will upload both as add-ons..

Where should I upload them to when I'm done? The map AutoUpdater download? Never mind I reread two post up

Quote:
Also, I figured out the difference between OnActivate and OnPress (if you already knew this, oh well): OnActivate occurs on mousedown, OnPress occurs on mouseup; basically, I can click and hold on a button, but OnPress won't occur unless my mouse is still over the button when I let go of the mouse button. OnActivate occurs the instant you click on a button. If you used both OnActivate and OnPress on the same button, there's no guarantee OnPress would get called; the user could move the mouse off of the button before releasing.
Quib
I knew OnActivate is called on mouse down.. I think it occurs at the same time the image switches to the "Pressed" Image..

OnDeactivate.. I think is called when the image is changed back to normal..

It's good to know that OnPress has a "user failsafe" to it..
I wonder what's called first OnDeactivate or OnPress.. Good to know how this stuffs works in general..
Hmm... Is it bad that we're going around it? I don't think so.. They're just basic switches..

Probably not a good Idea to put script in OnActivate that could create a bad out come.. Like an autoattack button.. Don't want to accidently attack a sentry or something..

Anyhow, Thanks for adding this feature!

So, When you gonna make that map selector tab plugin?
__________________
Talyns

Last edited by Talyns : 03-14-2005 at 11:39 PM.
Reply With Quote