Script Function: Q4CT

From Ultima Online: The Second Age
Revision as of 04:20, 10 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4CT(<span style="color:#0000FF">obj</span> caster, <span style="color:#0000FF">obj</span>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4CT(obj caster, obj corpse)
 {
   loc Q4AO = getLocation(caster);
   loc Q4EE = getLocation(corpse);
   int Q4IJ = getDistanceInTiles(getLocation(caster), getLocation(corpse));
   if (Q4IJ > 0x05)
   {
     return (0x00);
   }
   if (!Q5AF(corpse))
   {
     barkTo(caster, caster, "I must use a human corpse.");
     return (0x00);
   }
   return (0x01);
 }