Difference between revisions of "Script Function: Q5NI"

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> Q5NI() { <span style="color:#0000FF">obj</span> pole = getObjVar|<span style="col...")
(No difference)

Revision as of 03:05, 8 October 2018

 function void Q5NI()
 {
   obj pole = getObjVar(this, "poleID");
   obj container;
   loc location;
   int Q4Q1;
   if (hasObjVar(pole, "container"))
   {
     container = getObjVar(pole, "container");
     Q4Q1 = putObjContainer(pole, container);
   }
   else
   {
     location = getObjVar(pole, "location");
     Q4Q1 = teleport(pole, location);
   }
   return ();
 }