Script Function: Q5RW

From Ultima Online: The Second Age
Revision as of 22:00, 11 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q5RW(<span style="color:#0000FF">int</span> Q5T4, <span style="color:#0000FF">obj</span>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q5RW(int Q5T4, obj Q5IB, obj user)
 {
   if (isDead(user) && isManifesting(user))
   {
     int Q50U = Q5S2(Q5T4, getObjType(Q5IB));
     if (!Q50U)
     {
       int Q5GC = isOnMulti(user, getMultiSlaveId(Q5IB));
       int Q50S = hasObjVar(Q5IB, "isLocked");
       if ((!Q5GC) && (Q50S))
       {
         barkTo(user, user, "That is locked.");
       }
       else
       {
         Q5RZ(Q5T4, Q5IB, Q50S);
       }
     }
   }
   return ();
 }