Script Function: Q5NI

From Ultima Online: The Second Age
Jump to: navigation, search
 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 ();
 }