![]() If you want to enable room names in your mapper, you need to It is not visible by default because many maps have rooms that are quite close to each other showing the names by default would create an ugly visual mess. Its position defaults to "centered below the room". The room name can be displayed along with a room's box. You set it with the setRoomChar Lua function, or via the map's context menu. a symbol, also displayed in the room's box.You can't change it the ID is shown in the room's box when you check "IDs" in the dialog below the map and you're zoomed in far enough. Rooms have three attributes which you can show on the map: and finally, call centerview(roomID) to make the map view refresh and show your new room!.assign your room to an area with setRoomArea(roomID, areaID).If you're just starting out, put it at 0,0,0 so the room is at the center of the map give the room coordinates with setRoomCoordinates(roomID, x, y, z).if you want the Mudlet mapper to generate roomIDs for you, get one with createRoomID().You can choose any areaID - if you'd like to use the IDs incrementally, see which is the latest from getAreaTable() create an area with setAreaName(areaID, areaname).To make your first room, do the following steps: ![]() That's it! (But see below if you want more.)įrom here, you'd want to build a walking script that'll send the commands to walk you along the path, along with aliases for the user to use - see the Mapper API functions and Mudlet mapper events. Most Mudlet mapping scripts keep track of how many rooms along the path they have visited so far and check upon arrival into a new room to make sure it's still on the path. SpeedWalkPath is especially useful for making sure you're still on the path. " \n " ) echo ( "Rooms we'll pass through: ". Function doSpeedWalk () echo ( "Path we need to take: ". ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |