Script Function: Q5M9

From Ultima Online: The Second Age
Revision as of 17:02, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q5M9(<span style="color:#0000FF">obj</span> player) { <span style="color:#0000FF">i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q5M9(obj player)
 {
   if (!hasObjVar(player, "campFireId"))
   {
     return ();
   }
   obj campFireId = getObjVar(player, "campFireId");
   if (campFireId == this)
   {
     removeObjVar(player, "campFireId");
     removeObjVar(player, "timeInCamp");
     detachScript(player, "removecamping");
   }
   return ();
 }