Difference between revisions of "Script Function: Q556"

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> Q556(<span style="color:#0000FF">obj</span> it) { <span style="color:#0000FF">if</s...")
 
(No difference)

Latest revision as of 03:51, 8 October 2018

 function void Q556(obj it)
 {
   if (isNPC(it))
   {
     if (Q50H(NULL(), it))
     {
       loc where = getLocation(it);
       setX(where, getX(where) + random(0x00, 0x0A) - 0x05);
       setY(where, getY(where) + random(0x00, 0x0A) - 0x05);
       walkTo(it, where, 0x17);
     }
   }
   return ();
 }