Script Function: Q4DZ

From Ultima Online: The Second Age
Revision as of 04:28, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4DZ() { <span style="color:#0000FF">member</span> <span style="color:#0000FF">int</...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4DZ()
 {
   member int petAckSfx = 0x00;
   member int petRefuseSfx = 0x00;
   if (hasObjVar(this, "petAckSfx"))
   {
     petAckSfx = getObjVar(this, "petAckSfx");
   }
   if (hasObjVar(this, "petRefuseSfx"))
   {
     petRefuseSfx = getObjVar(this, "petRefuseSfx");
   }
   return ((petAckSfx + petRefuseSfx));
 }