Difference between revisions of "Script Function: Q4JT"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4JT(<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> Q4JT(<span style="color:#0000FF">obj</span> pet) | <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4JT(<span style="color:#0000FF">obj</span> pet) | ||
{ | { | ||
− | <span style="color:#0000FF">if</span> ([[ | + | <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:52, 21 October 2018
function void Q4JT(obj pet) { if (isPet(pet)) { Q4XQ(); sfx(getLocation(pet), petRefuseSfx, 0x00); } else { bark(pet, "I do not understand."); } return; }