It just raises a attempt to index a string value while creating the table internally. Test case:
addMapEvent("room a", "onFavorite") -- will make a label "room a" on the map menu's right click that calls onFavorite
addMapEvent("room b", "onFavorite", "Favorites", "Special Room!", 12345, "arg1", "arg2", "argn")
display({getMapEvents()})
When fixed, it should be documented on the wiki as well.
It just raises a
attempt to index a string valuewhile creating the table internally. Test case:When fixed, it should be documented on the wiki as well.