Script Function: Q5W3

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q5W3(obj this, obj Q61K)
 {
   list Q5XE;
   getStaticObjectsAt(Q5XE, getLocation(Q61K));
   if (0x00)
   {
     bark(this, "Static objects at target:");
     string debug = numInList(Q5XE);
     bark(this, debug);
   }
   if (numInList(Q5XE) > 0x00)
   {
     if (0x00)
     {
       debugMessage("Statics at chosen item.");
       for(int Q5GD = 0x00; Q5GD < numInList(Q5XE); Q5GD++)
       {
         obj Q527 = Q5XE[Q5GD];
         string Q4PZ = getName(Q527);
         bark(this, Q4PZ);
       }
     }
     return (0x00);
   }
   return (0x01);
 }