Difference between revisions of "Script Function: Q4LJ"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4LJ(<span style="color:#0000FF">obj</span> pet) { <span style="color:#0000FF">if</...")
 
 
Line 1: Line 1:
 
   <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4LJ(<span style="color:#0000FF">obj</span> pet)
 
   <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4LJ(<span style="color:#0000FF">obj</span> pet)
 
   {
 
   {
     <span style="color:#0000FF">if</span> ([[isPet|<span style="color:#2B91AF">isPet</span>]](pet))
+
     <span style="color:#0000FF">if</span> ([[Script_Function:_isPet|<span style="color:#2B91AF">isPet</span>]](pet))
 
     {
 
     {
 
       [[Script_Function:_Q4XR|<span style="color:#2B91AF">Q4XR</span>]]();
 
       [[Script_Function:_Q4XR|<span style="color:#2B91AF">Q4XR</span>]]();

Latest revision as of 00:52, 21 October 2018

 function void Q4LJ(obj pet)
 {
   if (isPet(pet))
   {
     Q4XR();
     sfx(getLocation(pet), petAckSfx, 0x00);
   }
   else
   {
     bark(pet, "Very well.");
   }
   return;
 }