IsInMap
From UODemo Wiki
Revision as of 20:59, 25 January 2010 by Batlin (talk | contribs) (Created page with 'integer '''isInMap'''(location ''LocationToCheck''); This function will return 1 if the X and Y of ''LocationToCheck'' are in the map. A map is the area a server is controlling....')
integer isInMap(location LocationToCheck);
This function will return 1 if the X and Y of LocationToCheck are in the map. A map is the area a server is controlling. The begin coordinates and the size of the map are defined by the .rundir\%SERVERNAME%\server.txt file, see: server.txt. You can also use the getRelayLoc script function to get the begin coordinates of the server map. There is no function that gives you the size of the map though. The Z coordinate of LocationToCheck is ignored.
Return to the Command List.