Script Function: Q4SE

From Ultima Online: The Second Age
Revision as of 03:31, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">obj</span> Q4SE(<span style="color:#0000FF">obj</span> Q68D) { <span style="color:#0000FF">obj<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function obj Q4SE(obj Q68D)
 {
   obj Q491 = getBackpack(Q68D);
   if (Q491 == NULL())
   {
     Q491 = createGlobalObjectIn(0x0E75, Q68D);
     if (!isValid(Q491))
     {
       return (NULL());
     }
     if (!equipObj(Q491, Q68D, 0x15))
     {
       deleteObject(Q491);
       return (NULL());
     }
   }
   return (Q491);
 }