Script: 3764

From Ultima Online: The Second Age
Revision as of 17:09, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">inherits</span> play; <span style="color:#0000FF">trigger</span> creation { setObjVar|<span style="color:#FF0000;font-weight:bold">set...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
inherits play;
trigger creation
{
  setObjVar(this, "isInstrument", 0x01);
  setObjVar(this, "goodSound", 0x4C);
  setObjVar(this, "badSound", 0x4D);
  return (0x00);
}

http://wiki.uot2a.com/index.php?action=edit&title=3778

inherits bladed;

http://wiki.uot2a.com/index.php?action=edit&title=3779

inherits bladed;

http://wiki.uot2a.com/index.php?action=edit&title=3780

inherits bladed;

http://wiki.uot2a.com/index.php?action=edit&title=3781

inherits bladed;

http://wiki.uot2a.com/index.php?action=edit&title=3817

inherits firstaid;

http://wiki.uot2a.com/index.php?action=edit&title=3834

inherits spellbook;

http://wiki.uot2a.com/index.php?action=edit&title=3839

inherits hairdye;

http://wiki.uot2a.com/index.php?action=edit&title=3846

inherits potion;
trigger creation
{
  if (hasObjVar(this, "power"))
  {
    removeObjVar(this, "power");
  }
  return (0x00);
}
trigger use
{
  if (!Q4H6(user))
  {
    return (0x00);
  }
  setInvisible(user, 0x00);
  int Q4YJ = 0x0E;
  doMobAnimation(user, 0x376A, 0x09, 0x20, 0x00, 0x00);
  sfx(getLocation(user), 0x01E3, 0x00);
  setLight(user, Q4YJ, 0x01);
  obj Q4NN = createGlobalObjectOn(this, 0x0F0E);
  deleteObject(this);
  return (0x00);
}