Difference between revisions of "Script: Removecamping"

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> callback(0x5F) { <span style="color:#0000FF">if</span> (hasObjVar|...")
 
(No difference)

Latest revision as of 14:41, 5 October 2018

inherits globals;
trigger callback(0x5F)
{
  if (hasObjVar(this, "campFireId"))
  {
    removeObjVar(this, "campFireId");
  }
  if (hasObjVar(this, "timeInCamp"))
  {
    removeObjVar(this, "timeInCamp");
  }
  detachScript(this, "removecamping");
  return (0x01);
}