Script Function: Cleanup

From Ultima Online: The Second Age
Revision as of 09:47, 7 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> cleanup() { removeObjVar|<span style="color:#FF0000;font-weight:bold">removeObjVa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void cleanup()
 {
   removeObjVar(this, <span style="color:#800000">"lastCriminal"</span>);
   removeObjVar(this, <span style="color:#800000">"lastVictim"</span>);
   removeObjVar(this, <span style="color:#800000">"crimeSeverity"</span>);
   removeObjVar(this, <span style="color:#800000">"crimeLocation"</span>);
   detachScript(this, <span style="color:#800000">"witness"</span>);
   return ();
 }