Script Function: Q4WS

From Ultima Online: The Second Age
Revision as of 03:58, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4WS(<span style="color:#0000FF">obj</span> house) { <span style="color:#0000FF">li...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q4WS(obj house)
 {
   list Q5AV;
   Q4WY(house, Q5AV);
   obj vendor;
   int num = numInList(Q5AV);
   for(int i = 0x00; i < num; i++)
   {
     vendor = Q5AV[i];
     if (isValid(vendor))
     {
       list args;
       appendToList(args, house);
       message(vendor, "housedecay", args);
     }
   }
   removeObjVar(house, "vendors");
   return ();
 }