mapping scripting callbacks and other stuff

Posted by Tsunami on Thu 13 Jan 2005 06:56 PM — 5 posts, 18,602 views.

USA #0
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?
Amended on Fri 14 Jan 2005 05:00 PM by Tsunami
Australia Forum Administrator #1
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.
USA #2
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?
Australia Forum Administrator #3
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.
USA #4
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!