Script Function: Q556

From Ultima Online: The Second Age
Revision as of 03:51, 8 October 2018 by Grimoric (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 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 ();
 }