Script Function: Q4SE

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