Difference between revisions of "Script: Locationinfo"

From Ultima Online: The Second Age
Jump to: navigation, search
(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...")
 
(No difference)

Latest revision as of 20:05, 5 October 2018

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);
}