Script Function: Q5S7

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