Difference between revisions of "IsInWorld"

From UODemo Wiki
Jump to: navigation, search
(Created page with 'integer '''isInWorld'''(location ''LocationToCheck''); This function will return 1 if the X and Y of ''LocationToCheck'' are between respectively 0 and 6143 and 0 and 4095. Othe...')
 
Line 1: Line 1:
 
integer '''isInWorld'''(location ''LocationToCheck'');
 
integer '''isInWorld'''(location ''LocationToCheck'');
  
This function will return 1 if the X and Y of ''LocationToCheck'' are between respectively 0 and 6143 and 0 and 4095. Otherwise 0 is returned.
+
This function will return 1 if the X and Y of ''LocationToCheck'' are between respectively 0 and 6143 and 0 and 4095. Otherwise 0 is returned. The Z coordinate of LocationToCheck is ignored.
  
  
 
Return to the [[Command List]].
 
Return to the [[Command List]].

Revision as of 21:00, 25 January 2010

integer isInWorld(location LocationToCheck);

This function will return 1 if the X and Y of LocationToCheck are between respectively 0 and 6143 and 0 and 4095. Otherwise 0 is returned. The Z coordinate of LocationToCheck is ignored.


Return to the Command List.