Difference between revisions of "Script Function: Q4TI"

From Ultima Online: The Second Age
Jump to: navigation, search
 
Line 20: Line 20:
 
     <span style="color:#0000FF">if</span> (![[Engine Function:_hasObjVar|<span style="color:#FF0000;font-weight:bold">hasObjVar</span>]](this, <span style="color:#800000">"guildstoneId"</span>))
 
     <span style="color:#0000FF">if</span> (![[Engine Function:_hasObjVar|<span style="color:#FF0000;font-weight:bold">hasObjVar</span>]](this, <span style="color:#800000">"guildstoneId"</span>))
 
     {
 
     {
       [[cleanup|<span style="color:#2B91AF">cleanup</span>]](me);
+
       [[Script_Function:_Cleanup|<span style="color:#2B91AF">cleanup</span>]](me);
 
       <span style="color:#0000FF">return</span> ();
 
       <span style="color:#0000FF">return</span> ();
 
     }
 
     }

Latest revision as of 08:39, 19 October 2018

 function void Q4TI(obj this)
 {
   loc Q55H = 0x00, 0x00, (0x00 - 0x50);
   if (!hasObjVar(this, "guildstoneId"))
   {
     list args;
     message(this, "removedFromGuild", args);
     return ();
   }
   obj Q4UE = getObjVar(this, "guildstoneId");
   list blah;
   multimessage(Q4UE, "updateMyGuildInfo", blah);
   blah = Q4UE;
   multiMessageToLoc(Q55H, "doesMyGuildExist", blah);
   return ();
 }
 function void Q4TI(obj this)
 {
   if (!hasObjVar(this, "guildstoneId"))
   {
     cleanup(me);
     return ();
   }
   obj Q4UE = getObjVar(this, "guildstoneId");
   list blah;
   multimessage(Q4UE, "updateMyGuildInfo", blah);
   return ();
 }