Script Function: Q4TV

From Ultima Online: The Second Age
Revision as of 10:01, 7 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4TV(<span style="color:#0000FF">obj</span> victim) { <span style="color:#0000FF">l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q4TV(obj victim)
 {
   loc Q4VS = getLocation(Q67S);
   loc there = getLocation(victim);
   trackee = victim;
   int Q5R6 = getDistanceInTiles(Q4VS, there);
   if (Q5R6 < 0x01)
   {
     Q5R6 = 0x01;
     Q4GJ(victim, 0x1E);
   }
   else
   {
     walkTo(Q67S, there, 0x0E);
     shortcallback(Q67S, Q5R6, 0x34);
   }
   return ();
 }