GMAP

GMAP is a CAOS function that returns the metaroom id at a given point in the map.

Usage
Syntax: GMAP x(integer) y(integer)

Returns the metaroom id at the given x,y point in the map. If there is no metaroom there, it returns -1.

Example
Being used to check if C3 is docked in a DS world: doif gmap 100 100 ne -1 **do stuff that requires C3 be docked