Script Function: Q4EQ

From Ultima Online: The Second Age
Revision as of 19:19, 10 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">obj</span> Q4EQ(<span style="color:#0000FF">int</span> Q5F8, <span style="color:#0000FF">loc</span> p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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());
 }