Skip to content

getMapEvents() doesn't work in 3.1 #1040

@vadi2

Description

@vadi2

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions