Difference between revisions of "Script: Sha teler lever 2"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">inherits</span> globals; <span style="color:#0000FF">trigger</span> message(<span style="color:#800000">"allow"</span>) { <span style="c...")
 
(No difference)

Latest revision as of 14:08, 5 October 2018

inherits globals;
trigger message("allow")
{
  int i = 0x00;
  if (!hasObjVar(this, "allow"))
  {
    setObjVar(this, "allow", i);
    callback(this, 0x0258, 0x25);
  }
  return (0x00);
}
trigger callback(0x25)
{
  if (hasObjVar(this, "allow"))
  {
    removeObjVar(this, "allow");
  }
  return (0x00);
}