Difference between revisions of "Script Function: Q4BN"

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> Q4BN(<span style="color:#0000FF">obj</span> this, <span style="color:#0000FF">obj</span> t...")
 
(No difference)

Latest revision as of 22:25, 11 October 2018

 function int Q4BN(obj this, obj target)
 {
   if (!isPlayer(target))
   {
     return (0x00);
   }
   if (isDead(target))
   {
     return (0x00);
   }
   if (!canSeeObj(this, target))
   {
     return (0x00);
   }
   return (0x01);
 }