Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Lua
➜ Clickable buttons
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Daved
(12 posts) Bio
|
| Date
| Wed 07 Jul 2010 12:51 PM (UTC) |
| Message
| | Hey folks I've steadily been setting up to semi-automate my offense as a Paladin in Aetolia. I have scripts to chase balance, to track what venoms are on my weapons, what I'm wielding, where I'm targetting etc. But all of it is controlled by aliases, and in the 2 second window I have between attacks I can't always accomplish everything I want to: set venoms, change parries, change targets. I'm thinking with clickable buttons that changed the values of the various variables that control all of that would be much faster for me to execute. I've no idea how to go about setting these up, any advice is appreciated :) | | Top |
|
| Posted by
| Twisol
USA (2,257 posts) Bio
|
| Date
| Reply #1 on Wed 07 Jul 2010 03:09 PM (UTC) |
| Message
| Sounds like you want miniwindows! Using the Window* suite of scripting functions, you can reserve sections of the output window to draw directly on. You can also apply hotspots to a miniwindow, which respond to mouse events. I don't have a good example handy, but there's a whole forum dedicated to miniwindows here [1], and the links above the forum list include a lot of explanation about the miniwindow API.
[1] http://www.gammon.com.au/forum/bbshowpost.php?bbtopic_id=121 |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #2 on Wed 07 Jul 2010 10:06 PM (UTC) |
| Message
|
That shows how to do buttons.
To show cooldown times:
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
15,044 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top