|
selch Beginner
Joined: 19 Dec 2003 Posts: 15 Location: USA
|
Posted: Wed Mar 17, 2004 8:29 am
Command Line for mapmode? |
I want to change from follow to mapmode in the mapper via the command line. I've read the threads about using %maplocked but either it doesn't work or I'm not getting it.
I've tried both #NOOP %maplocked(0) and #CALL %maplocked(0). I'm expecting to see the button in the automapper window to change from one state to the other but I don't. If I use #ECHO %maplocked it will show me the current state but there's no reflection of the state in the automapper window and it doesn't map when I walk.
So the %maplocked command seems to change the state and I can verify that if I check it with #ECHO but the automapper doesn't seem to take the state. Ideas? |
|
|
|
Charbal GURU
Joined: 15 Jun 2001 Posts: 654 Location: USA
|
Posted: Wed Mar 17, 2004 9:09 am |
%maplocked just sets an attribute saying whether the map is locked for most changes at the moment or not. In follow mode, it'll default to 1 and 0 for map mode, but as you've discovered, changing it does not change from one mode to the other. Instead, it's there to make it possible for scripts for example to change things while the map is still in follow mode.
To switch to follow mode:
#MENU {Mapper|File|Follow Mode}
To switch to map mode:
#MENU {Mapper|File|Map Creation Mode} |
|
|
|
selch Beginner
Joined: 19 Dec 2003 Posts: 15 Location: USA
|
Posted: Wed Mar 17, 2004 9:32 am |
Fantastic! Thanks. I thought the #MENU command was just for making a menu when you right click. Obviously not.
|
|
|
|
|
|