Script Function: Q4X5

From Ultima Online: The Second Age
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);
 }