Script Function: Q4X3

From Ultima Online: The Second Age
Revision as of 14:52, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4X3(<span style="color:#0000FF">obj</span> Q5AK, <span style="color:#0000FF">int</span> s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4X3(obj Q5AK, int state)
 {
   string Q5N7;
   int myhousetype = getObjVar(Q5AK, "myhousetype");
   int Q5CT = Q4WW(myhousetype, state);
   int Q5NC = recycleMulti(Q5AK, Q5CT);
   if (Q5NC > 0x00)
   {
     setObjVar(Q5AK, "myhousestate", state);
   }
   return (Q5NC);
 }