Difference between revisions of "Script Function: Q4CU"

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

Latest revision as of 05:14, 10 October 2018

 function int Q4CU(obj user, obj usedon)
 {
   if (!isValid(usedon))
   {
     return (0x00);
   }
   if (!canSeeObj(user, usedon))
   {
     systemMessage(user, "Target can not be seen");
     return (0x00);
   }
   return (0x01);
 }