Script Function: Q4C8

From Ultima Online: The Second Age
Revision as of 03:15, 8 October 2018 by Grimoric (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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);
 }