Script: Dec orbslave

From Ultima Online: The Second Age
Revision as of 22:51, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">inherits</span> globals; <span style="color:#0000FF">member</span> <span style="color:#0000FF">obj</span> Q5GO; <span style="color:#0000FF"...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
inherits globals;
member obj Q5GO;
member loc Q5GM;
trigger creation
{
  Q5GM = 0x144F, 0x0261, 0x03;
  list Q5GN;
  getObjectsAt(Q5GN, Q5GM);
  for(int i = 0x00; i < numInList(Q5GN); i++)
  {
    if (hasScript(Q5GN[i], "dec_orbmaster"))
    {
      Q5GO = Q5GN[i];
    }
  }
  return (0x00);
}
trigger use
{
  list Q5DQ;
  message(Q5GO, "makeMeTalk", Q5DQ);
  return (0x00);
}
trigger speech("*")
{
  list args = arg;
  message(Q5GO, "newAddition", args);
  return (0x00);
}