Script Function: Q51Q

From Ultima Online: The Second Age
Revision as of 17:55, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q51Q(<span style="color:#0000FF">obj</span> key, <span style="color:#0000FF">obj</span> Q4...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q51Q(obj key, obj Q4MZ)
 {
   if (!hasObjVar(Q4MZ, "isLocked"))
   {
     int one = getObjVar(Q4MZ, "lockLevel");
     setObjVar(Q4MZ, "isLocked", one);
     return (0x01);
   }
   removeObjVar(Q4MZ, "isLocked");
   return (0x00);
 }