Script Function: Q45E

From Ultima Online: The Second Age
Revision as of 15:27, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">obj</span> Q45E(<span style="color:#0000FF">obj</span> Q47J, <span style="color:#0000FF">int</span> Q...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function obj Q45E(obj Q47J, int Q65M, int Q4DR, string lookAtText, string Q5OL)
 {
   obj item = requestCreateObjectIn(Q65M, Q47J);
   if (Q4DR)
   {
     setHue(item, Q4DR);
   }
   if (lookAtText != "")
   {
     setObjVar(item, "lookAtText", lookAtText);
   }
   if (Q5OL != "")
   {
     attachScript(item, Q5OL);
   }
   setObjVar(item, "valueless", 0x01);
   return (item);
 }