Difference between revisions of "GetRelayLoc"

From UODemo Wiki
Jump to: navigation, search
m
 
(2 intermediate revisions by the same user not shown)
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 function returns a location variable with the X and Y found in .rundir\[[SERVERNAME|%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]].

Latest revision as of 19:30, 26 January 2010

location getRelayLoc(object UnusedObject);

The getRelayLoc function 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.