Difference between revisions of "GetRelayLoc"
From UODemo Wiki
m |
|||
Line 1: | Line 1: | ||
location '''getRelayLoc'''(object ''UnusedObject''); | location '''getRelayLoc'''(object ''UnusedObject''); | ||
− | The getRelayLoc functions returns a "location" variable with the X and Y found in .rundir\%SERVERNAME%\server.txt, Z will be 0. Basically it wlll return the upper-left coordinate of the server map. This function takes an object as parameter but this object is ignored and can be NULL(). Also see: [[Server.txt]] | + | The getRelayLoc functions returns a "location" variable with the X and Y found in .rundir\%SERVERNAME%\server.txt, Z will be 0. Basically it wlll return the upper-left coordinate of the server map. This function takes an object as parameter but this object is ignored and can be [[NULL]](). Also see: [[Server.txt]] |
Return to the [[Command List]]. | Return to the [[Command List]]. |
Revision as of 10:27, 25 January 2010
location getRelayLoc(object UnusedObject);
The getRelayLoc functions returns a "location" variable with the X and Y found in .rundir\%SERVERNAME%\server.txt, Z will be 0. Basically it wlll return the upper-left coordinate of the server map. This function takes an object as parameter but this object is ignored and can be NULL(). Also see: Server.txt
Return to the Command List.