Script Function: Q43B

From Ultima Online: The Second Age
Revision as of 15:00, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">string</span> Q43B(<span style="color:#0000FF">obj</span> this) { <span style="color:#0000FF">o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function string Q43B(obj this)
 {
   obj Q4XN;
   int Q65M;
   int Q5MV;
   string Q4RC;
   string Q5UI;
   loc location;
   obj Q5IY;
   string Q5J0;
   int Q45N;
   int Q5NC;
   int Q5ND;
   string desc;
   loc Q5M7;
   Q5NC = getHint(this, 0x03, Q65M, Q4XN, Q5MV, Q4RC, Q5UI, location, Q5IY, Q5J0, Q45N);
   if (Q5NC)
   {
     string Q63A;
     string Q63B;
     Q63A = objToStr(Q4XN);
     Q63A = Q63A + " ";
     Q63B = Q5MV;
     Q63A = Q63A + Q63B;
     Q63A = Q63A + " ";
     Q63A = Q63A + Q4RC;
     Q63A = Q63A + " ";
     Q63A = Q63A + Q5UI;
     Q63A = Q63A + " ";
     Q63B = getX(location);
     Q63A = Q63A + Q63B;
     Q63A = Q63A + " ";
     Q63B = getY(location);
     Q63A = Q63A + Q63B;
     Q63A = Q63A + " ";
     Q63B = getZ(location);
     Q63A = Q63A + Q63B;
     Q63A = Q63A + " ";
     Q63B = objToStr(Q5IY);
     Q63A = Q63A + Q63B;
     Q63A = Q63A + " ";
     Q63A = Q63A + Q5J0;
     Q63A = Q63A + " ";
     Q63B = Q45N;
     Q63A = Q63A + Q63B;
     Q63A = Q63A + " ";
     desc = "";
     Q5ND = getLocalizedDesc(Q63B, Q5M7, location, getLocation(this));
     if (Q5ND > 0x00)
     {
       if (Q5ND == 0x02)
       {
         desc = desc + "here ";
       }
       desc = desc + "in ";
       desc = desc + Q63B;
     }
     Q63A = Q63A + "+";
     Q63A = Q63A + desc;
     Q63A = Q63A + "+ ";
     Q63B = getX(Q5M7);
     Q63A = Q63A + Q63B;
     Q63A = Q63A + " ";
     Q63B = getY(Q5M7);
     Q63A = Q63A + Q63B;
     Q63A = Q63A + " ";
     Q63B = getZ(Q5M7);
     Q63A = Q63A + Q63B;
     Q63A = Q63A + " ";
   }
   else
   {
     Q63A = "None";
   }
   return (Q63A);
 }