Script Function: Q45E

From Ultima Online: The Second Age
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);
 }