Difference between revisions of "Script: Teleported"

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> teleported() { <span style="color:#0000FF">loc</span> Q4WK = getRelayLoc|<span st...")
(No difference)

Revision as of 16:27, 12 October 2018

 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 ();
 }