Difference between revisions of "Script Function: Q56V"

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> Q56V(<span style="color:#0000FF">obj</span> recipient, <span style="color:#0000FF">string...")
(No difference)

Revision as of 16:22, 12 October 2018

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