Difference between revisions of "Script Function: Q5RE"

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> Q5RE(<span style="color:#0000FF">obj</span> it, <span style="color:#0000FF">string</span>...")
 
 
Line 2: Line 2:
 
   {
 
   {
 
     [[Engine Function:_setObjVar|<span style="color:#FF0000;font-weight:bold">setObjVar</span>]](it, <span style="color:#800000">"lookAtText"</span>, desc);
 
     [[Engine Function:_setObjVar|<span style="color:#FF0000;font-weight:bold">setObjVar</span>]](it, <span style="color:#800000">"lookAtText"</span>, desc);
 +
    <span style="color:#0000FF">return</span> ();
 +
  }
 +
 +
  <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q5RE()
 +
  {
 +
    <span style="color:#0000FF">string</span> name = [[Script_Function:_Q4S3|<span style="color:#2B91AF">Q4S3</span>]]();
 +
    [[Engine Function:_setObjVar|<span style="color:#FF0000;font-weight:bold">setObjVar</span>]](this, <span style="color:#800000">"lookAtText"</span>, name);
 
     <span style="color:#0000FF">return</span> ();
 
     <span style="color:#0000FF">return</span> ();
 
   }
 
   }

Latest revision as of 16:28, 12 October 2018

 function void Q5RE(obj it, string desc)
 {
   setObjVar(it, "lookAtText", desc);
   return ();
 }
 function void Q5RE()
 {
   string name = Q4S3();
   setObjVar(this, "lookAtText", name);
   return ();
 }