Difference between revisions of "Script Function: Q4WV"

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> Q4WV(<span style="color:#0000FF">obj</span> Q5AO, <span style="color:#0000FF">loc</span>...")
(No difference)

Revision as of 14:53, 12 October 2018

 function void Q4WV(obj Q5AO, loc Q5CV)
 {
   obj Q63A;
   if (Q5AO != NULL())
   {
     setZ(Q5CV, getZ(Q5CV) + 0x07);
     setX(Q5CV, getX(Q5CV) - 0x01);
     setY(Q5CV, getY(Q5CV) - 0x02);
     Q63A = createGlobalObjectAt(0x1019, Q5CV);
     Q4X0(Q63A);
     setX(Q5CV, getX(Q5CV) + 0x02);
     Q63A = createGlobalObjectAt(0x1061, Q5CV);
     Q4X0(Q63A);
     setX(Q5CV, getX(Q5CV) + 0x01);
     Q63A = createGlobalObjectAt(0x1062, Q5CV);
     Q4X0(Q63A);
   }
   return ();
 }