Script Function: Q4ES

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> Q4ES(<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 Q4ES(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))
   {
     return (createGlobalObjectAt(Q5F8, place));
   }
   return (NULL());
 }