Difference between revisions of "Script Function: Q4TI"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4TI(<span style="color:#0000FF">obj</span> this) { <span style="color:#0000FF">loc...")
 
Line 13: Line 13:
 
     blah = Q4UE;
 
     blah = Q4UE;
 
     [[Engine Function:_multiMessageToLoc|<span style="color:#FF0000;font-weight:bold">multiMessageToLoc</span>]](Q55H, <span style="color:#800000">"doesMyGuildExist"</span>, blah);
 
     [[Engine Function:_multiMessageToLoc|<span style="color:#FF0000;font-weight:bold">multiMessageToLoc</span>]](Q55H, <span style="color:#800000">"doesMyGuildExist"</span>, blah);
 +
    <span style="color:#0000FF">return</span> ();
 +
  }
 +
 +
  <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4TI(<span style="color:#0000FF">obj</span> this)
 +
  {
 +
    <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);
 +
      <span style="color:#0000FF">return</span> ();
 +
    }
 +
    <span style="color:#0000FF">obj</span> Q4UE = [[Engine Function:_getObjVar|<span style="color:#FF0000;font-weight:bold">getObjVar</span>]](this, <span style="color:#800000">"guildstoneId"</span>);
 +
    <span style="color:#0000FF">list</span> blah;
 +
    multimessage(Q4UE, <span style="color:#800000">"updateMyGuildInfo"</span>, blah);
 
     <span style="color:#0000FF">return</span> ();
 
     <span style="color:#0000FF">return</span> ();
 
   }
 
   }

Revision as of 15:09, 12 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 ();
 }