|
mapping scripting callbacks and other stuff
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Tsunami
USA (204 posts) bio
|
| Date |
Thu 13 Jan 2005 06:56 PM (UTC) [ quote
] Amended on Fri 14 Jan 2005 05:00 PM (UTC) by Tsunami
|
| Message |
It seems to me it would be easy enough to add some mapping scripting callbacks, a la OnPluginMappingFailDetected, etc... This would be most helpful for some more advanced mapping functions, for example delaying a certain amount of time after you hit a failure, and then continuing.
On a slightly less important note, Nick, do you think you could satisfy my perfectionist urges and include a shortcut to the MC folder in the start menu during installation?
Also, I seem to remember some vague discussion about making your stand-alone status bar have an always-on-top function. Has that happened, and if not, is there a realistic possibilty of that any time in the future? | top |
|
| Posted by |
Nick Gammon
Australia (18,770 posts) bio
Forum Administrator |
| Date |
Reply #1 on Sat 15 Jan 2005 09:52 PM (UTC) [ quote
] |
| Message |
To detect mapping failures you really only need to add your own trigger that matches on the mapping failure message. You could use:
GetAlphaOption ("mapping_failure")
to find what that is. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
| Posted by |
Tsunami
USA (204 posts) bio
|
| Date |
Reply #2 on Wed 19 Jan 2005 05:29 PM (UTC) [ quote
] |
| Message |
| ahh, but then you would not be able to pause the mapper, neh? By using a callback, you could delay until returning control to mushclient, no? | top |
|
| Posted by |
Nick Gammon
Australia (18,770 posts) bio
Forum Administrator |
| Date |
Reply #3 on Sat 22 Jan 2005 09:45 PM (UTC) [ quote
] |
| Message |
| You can't really "pause" the mapper. The mapping failure just removes the direction from the mapper. Then your trigger could open the door or whatever (adding that to the mapping list) and then retry. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
| Posted by |
Tsunami
USA (204 posts) bio
|
| Date |
Reply #4 on Sun 23 Jan 2005 07:55 PM (UTC) [ quote
] |
| Message |
| You know, I got myself so totally mixed-up there. Ignore everything I said, because I just realized what an idiot I've been. Sorry! | 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.
1,583 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )