Script: Objinfo

From Ultima Online: The Second Age
Revision as of 17:28, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">trigger</span> use { <span style="color:#FF0000;font-weight:bold">targetObj</span>(user, this); <span style="color:#0000FF">r...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
trigger use
{
  targetObj(user, this);
  return (0x01);
}
trigger targetobj
{
  string Q63B;
  string Q5N7 = objToStr(usedon);
  int val = getValue(usedon);
  Q63B = val;
  concat(Q5N7, " ");
  concat(Q5N7, Q63B);
  barkTo(usedon, user, Q5N7);
  Q5N7 = "weight: ";
  Q63B = getWeight(usedon);
  concat(Q5N7, Q63B);
  bark(usedon, Q5N7);
  loc blah = getLocation(usedon);
  bark(usedon, "(" + getX(blah) + "," + getY(blah) + "," + getZ(blah) + ")");
  return (0x01);
}