Difference between revisions of "Script Function: Q4LP"

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> Q4LP(<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> Q4LP(<span style="color:#0000FF">obj</span> pet)
 
   <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4LP(<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:_Q4XQ|<span style="color:#2B91AF">Q4XQ</span>]]();
 
       [[Script_Function:_Q4XQ|<span style="color:#2B91AF">Q4XQ</span>]]();

Latest revision as of 00:50, 21 October 2018

 function void Q4LP(obj pet)
 {
   if (isPet(pet))
   {
     Q4XQ();
     sfx(getLocation(pet), petRefuseSfx, 0x00);
   }
   else
   {
     bark(pet, "Sorry, but no.");
   }
   return;
 }