-
Notifications
You must be signed in to change notification settings - Fork 13
Useful Map Positional Functions
Taz edited this page Feb 9, 2020
·
1 revision
MinimapAPI:PlayerInRoom(room)Returns true if the player's position is the same as this room's position
MinimapAPI:IsRoomAdjacent(room1, room2)Returns true if a door can exist between these two rooms based on position.
MinimapAPI:GetPositionRelativeToDoor(room, doorslot)Returns a vector corresponding to the position of a possible adjacent room from the door slot given.
MinimapAPI:IsPositionFree(position)Given a position, returns true if no rooms are occupying that space.