Script Function: Q5S7

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">int</span> Q5S7(<span style="color:#0000FF">obj</span> Q5IP, <span style="color:#0000FF">int</span> Q...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q5S7(obj Q5IP, int Q5T4, string Q677)
 {
   obj ship = getMultiSlaveId(Q5IP);
   if (Q5S2(Q5T4, getObjType(Q5IP)))
   {
     setObjVar(ship, Q677, 0x01);
     return (0x01);
   }
   else
   {
     setObjVar(ship, Q677, 0x00);
     return (0x00);
   }
   return (0x00);
 }