Difference between revisions of "Script Function: Q4LM"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4LM(<span style="color:#0000FF">obj</span> this, <span style="color:#0000FF">obj</span>...") |
(No difference)
|
Latest revision as of 03:04, 12 October 2018
function void Q4LM(obj this, obj usedon, obj user) { if (Q4BD(this, usedon)) { Q4LJ(this); } else { if (!Q4KK(this, 0x00)) { return (); } } if (usedon == this) { removeObjVar(this, "petWhoFollow"); stopFollowing(this); } else { setObjVar(this, "petWhoFollow", usedon); followNpc(this, usedon, 0x00); } removeObjVar(this, "petFollow"); return (); }