Script: Sha dungeon wall

From Ultima Online: The Second Age
Revision as of 14:14, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">inherits</span> globals; <span style="color:#0000FF">trigger</span> enterrange(0x01) { <span style="color:#0000FF">int</span> Q5A2 = g...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
inherits globals;
trigger enterrange(0x01)
{
  int Q5A2 = getObjType(this);
  if (Q5A2 == 0x01)
  {
    return (0x01);
  }
  else
  {
    setObjVar(this, "vanished", Q5A2);
    setType(this, 0x01);
    callback(this, 0x1E, 0x24);
  }
  return (0x01);
}
trigger callback(0x24)
{
  int Q5A2 = getObjVar(this, "vanished");
  setType(this, Q5A2);
  return (0x00);
}