Nick Gammon said:
I think some of the miniwindow stuff will not work so well if you are not using a plugin. Also, if you make a plugin (as in my example thread above) then it is much, much easier to distribute it to your friends, rather than getting them to add scripts, triggers, etc. to their individual worlds.
Hi,Nick
Thank you for your guidance.I am in today's code work, also felt the question you said.The same code, plugins environment is very good, whereas the error.
I think we should listen to your advice, to give up the previous ideas, let mapper.lua run in the plug-in environment.This can avoid a lot of strange errors.
I'm in the process of reading mapper.lua, have a new problem.
Quote:
start_speedwalk (path) -- starts speedwalking. path is a table of directions/uids
build_speedwalk (path) -- builds a client speedwalk string from path
cancel_speedwalk () -- cancel current speedwalk, if any
check_we_can_find () -- returns true if doing a find is OK right now
find (f, show_uid, count, walk) -- generic room finder
find_paths (uid, f) -- lower-level room finder (for getting back a path)
I believe, these functions can be finished in the map, in the map of the one uid for other uid walking.But I can't let it run correctly.
Could you please give me a examples or link.Thank you again.
Thank you for the use of valuable time, read my post.