Script Function: Q4C8

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q4C8(obj Q68S, obj Q5UY)
 {
   if (!Q507(Q68S))
   {
     return (0x00);
   }
   obj Q4D2;
   Q4D2 = getObjVar(Q68S, "targetingForObj");
   if (Q5UY != Q4D2)
   {
     return (0x00);
   }
   detachScript(Q68S, "targeting");
   removeObjVar(Q68S, "targetingForObj");
   return (0x01);
 }