Difference between revisions of "Script Function: Q4C8"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4C8(<span style="color:#0000FF">obj</span> Q68S, <span style="color:#0000FF">obj</span> Q...")
 
(No difference)

Latest revision as of 04:15, 8 October 2018

 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);
 }