Script Function: Q4EQ

From Ultima Online: The Second Age
Jump to: navigation, search
 function obj Q4EQ(int Q5F8, loc place)
 {
   int Q4XW = getTileHeight(Q5F8);
   int Q5JN = getZ(place) + 0x10;
   int Q5BH = getZ(place) - 0x10;
   setZ(place, findGoodZ(place, Q5BH, Q5JN, Q4XW, 0x01));
   if (getZ(place) != (0x00 - 0x80))
   {
     if (!Q46K(place, Q4XW))
     {
       return (createGlobalObjectAt(Q5F8, place));
     }
   }
   return (NULL());
 }