Script Function: Q5XR

From Ultima Online: The Second Age
Revision as of 05:24, 12 October 2018 by Grimoric (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q5XR(obj Q5G0, int newType)
 {
   int Q5G2 = getObjType(Q5G0);
   string Q5WW = Q5G2;
   string Q5WV = newType;
   if (Q5G2 != newType)
   {
     setType(Q5G0, newType);
     attachScript(Q5G0, Q5WV);
     detachScript(Q5G0, Q5WW);
   }
   return ();
 }
 function void Q5XR(obj Q5G0, int newType)
 {
   int Q5G2 = getObjType(Q5G0);
   string Q5WW = Q5G2;
   string Q5WV = newType;
   if (Q5G2 != newType)
   {
     setType(Q5G0, newType);
     attachScript(Q5G0, Q5WV);
     detachScript(Q5G0, Q5WW);
   }
   return ();
 }