Documentation Index
Fetch the complete documentation index at: https://v5.rpgjs.dev/llms.txt
Use this file to discover all available pages before exploring further.
Map ↔ World attachment helpers
These helpers allow you to attach a map to a world, retrieve the attached world, and remove the map from the world.Get attached World
- Since: 3.0.0-beta.8
- Method:
map.getInWorldMaps() - Usage: Recover the world attached to this map (undefined if no world attached)
Remove this map from the world
- Since: 3.0.0-beta.8
- Method:
map.removeFromWorldMaps() - Return:
boolean | undefined - Usage: Remove this map from the world
Assign the map to a world
- Since: 3.0.0-beta.8
- Method:
map.setInWorldMaps(worldMap) - Arguments:
{ RpgWorldMaps } worldMap(Optional: false) - Usage: Assign the map to a world