Difference between revisions of "Script: Horse"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">inherits</span> pet; <span style="color:#0000FF">trigger</span> use { <span style="color:#0000FF">if</span> (isDead|<span style="color...") |
(No difference)
|
Latest revision as of 21:23, 5 October 2018
inherits pet;
trigger use { if (isDead(user)) { return (0x00); } if (!hasObjListVar(this, "myBoss")) { barkTo(this, user, "That horse does not look broken! You would have to tame it to ride it."); return (0x00); } if (hasObjListVar(this, "myBoss")) { if (!Q4BD(this, user)) { barkTo(this, user, "This isn't your horse; it refuses to let you ride."); return (0x00); } return (0x01); } return (0x01); }