Script Function: Q4X5

From Ultima Online: The Second Age
Revision as of 15:52, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">obj</span> Q4X5(<span style="color:#0000FF">int</span> Q65M, <span style="color:#0000FF">loc</span> p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function obj Q4X5(int Q65M, loc place)
 {
   Q5NG = (0x00 - 0x06);
   int Q59C = Q4WW(Q65M, 0x00);
   if (areMobilesInMultiArea(Q59C, place))
   {
     Q5NG = (0x00 - 0x09);
     return (NULL());
   }
   obj Q5AK = makeMultiInstCheck(place, Q59C, 0x08, (0x00 - 0x03), Q5NG, 0x00, 0x00, 0x00);
   if (Q5AK != NULL())
   {
     setObjVar(Q5AK, "myhousetype", Q65M);
     setObjVar(Q5AK, "myhousestate", 0x00);
     string Q5AS;
     getCurrentTimeStr(Q5AS);
     setObjVar(Q5AK, "creationtime", Q5AS);
   }
   return (Q5AK);
 }