Script Function: Q4DZ

From Ultima Online: The Second Age
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));
 }