Welcome to the Creatures Wiki! Log in and join the community.


From Creatures Wiki
Jump to navigation Jump to search

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


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.


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

See Also[edit]

  • GRAP
  • GMAP is used in the new lift script to determine whether the call button is in the same metaroom as the lift is.