er2.getMapLocations 4
Fills a Lua table with the named places of the map (towns, villages, landmarks), each as a table with name and position. Useful to make a generated battle fight over real places instead of empty fields.
Return value
| Return Type | Description |
|---|---|
| Number | How many locations were written into the table. |
Parameters
| Parameter | Type | Description |
|---|---|---|
| 1 | Table | An empty Lua table. It is filled with one entry per location, each holding name and position. |
Examples
No examples available.
