Script: Locationinfo

From Ultima Online: The Second Age
Revision as of 20:05, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">trigger</span> use { <span style="color:#0000FF">list</span> Q4QI; getObjectsInRange|<span style="color:#FF0000;font-weight:bold">getObje...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
trigger use
{
  list Q4QI;
  getObjectsInRange(Q4QI, getLocation(this), 0x01);
  systemMessage(user, "Objects Here:");
  for(int i = (numInList(Q4QI) - 0x01); i >= 0x00; i--)
  {
    obj Q4FK = Q4QI[i];
    int Q47V = getZ(getLocation(Q4FK));
    systemMessage(user, "(" + Q47V + "-" + (Q47V + getHeight(Q4FK)) + ") '" + getName(Q4FK) + "' Type:" + getObjType(Q4FK));
  }
  return (0x01);
}