Script: Removecamping

From Ultima Online: The Second Age
Revision as of 15:41, 5 October 2018 by Grimoric (talk | contribs) (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|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
inherits globals;
trigger callback(0x5F)
{
  if (hasObjVar(this, "campFireId"))
  {
    removeObjVar(this, "campFireId");
  }
  if (hasObjVar(this, "timeInCamp"))
  {
    removeObjVar(this, "timeInCamp");
  }
  detachScript(this, "removecamping");
  return (0x01);
}