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...')
 
m (Protected "IsInWorld" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(One intermediate revision by the same user not shown)
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]].

Latest 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.