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
➜ Miniwindows
➜ A window with clickable targets?
A window with clickable targets?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Kaimarae
(34 posts) Bio
|
Date
| Tue 17 May 2011 01:05 AM (UTC) |
Message
| I would very much like to make a trigger that reads the names of npcs and mobs, then outputs them into a window where I can click on them to set a variable that I use to store my target. I'm sure this is possible, but I haven't the slightest idea on how to implement it. Any help would be greatly appreciated :) | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #1 on Tue 17 May 2011 01:10 AM (UTC) |
Message
| The best place to start is the Miniwindows Intro, linked above the threads list in the Miniwindows forum (i.e. here).
http://www.gammon.com.au/mushclient/mw_intro.htm
Play with some small things for a bit, ask any questions you might have, and I'd suggest at least attempting to write a TicTacToe miniwindow. :) You can also look at the source of my MapWindow plugin (funny how that keeps coming up) for a somewhat-icky-but-still-okay example of how to use a miniwindow. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
Posted by
| Kaimarae
(34 posts) Bio
|
Date
| Reply #2 on Tue 17 May 2011 01:12 AM (UTC) |
Message
| I had this sneaking suspicion that when I made this thread that there was little point and that I may as well have just asked you in the other thread xD | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #3 on Tue 17 May 2011 01:16 AM (UTC) |
Message
| Nah, not at all. Now you have somewhere better to follow up at with questions! |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #4 on Tue 17 May 2011 01:17 AM (UTC) |
Message
| This might get you started:
http://www.gammon.com.au/forum/?id=9462
It's a miniwindow with clickable names, so that is close to what you want. However the names are world names of open worlds.
So just modify where it builds the list to change from open worlds, to known targets, and you are done (and of course do something different when you click on one). |
- 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.
19,556 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top