Script: Teleported

From Ultima Online: The Second Age
Revision as of 16:27, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> teleported() { <span style="color:#0000FF">loc</span> Q4WK = getRelayLoc|<span st...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void teleported()
 {
   loc Q4WK = getRelayLoc(recipient);
   if (getLocation(this) == Q4WK)
   {
     list args;
     appendToList(args, recipient);
     messageToRange(Q4WK, 0x01, "consolidate", args);
     clearList(args);
     multiMessage(recipient, "requestCollection", args);
   }
   else
   {
     if (isValid(recipient))
     {
       Q4DU();
     }
     else
     {
       int Q4Q1 = teleportNoFall(this, Q4WK);
     }
   }
   return ();
 }