Difference between revisions of "Script Function: Q5XR"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q5XR(<span style="color:#0000FF">obj</span> Q5G0, <span style="color:#0000FF">int</span>...")
(No difference)

Revision as of 04:19, 10 October 2018

 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 ();
 }