Script Function: Q56V

From Ultima Online: The Second Age
Revision as of 15:22, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q56V(<span style="color:#0000FF">obj</span> recipient, <span style="color:#0000FF">string...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q56V(obj recipient, string Q56R, list args)
 {
   if (isValid(recipient))
   {
     message(recipient, Q56R, args);
     return ();
   }
   obj Q4DT = createNoResObjectAt(0x01, getLocation(this));
   setObjVar(Q4DT, "recipient", recipient);
   attachScript(Q4DT, "comprobe");
   prependToList(args, Q56R);
   message(Q4DT, "addMessage", args);
   int Q4Q1 = teleport(Q4DT, getRelayLoc(recipient));
   clearList(args);
   if (isValid(Q4DT))
   {
     message(Q4DT, "teleported", args);
   }
   return ();
 }