Script Function: Q5SD

From Ultima Online: The Second Age
Revision as of 21:59, 11 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">obj</span> Q5SD(<span style="color:#0000FF">int</span> Q5SR, <span style="color:#0000FF">loc</span> p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function obj Q5SD(int Q5SR, loc place)
 {
   obj ship;
   int Q4IE = 0x05;
   ship = Q5SE(Q5SR, 0x00, place);
   if (ship != NULL())
   {
     Q4IE = 0x00;
   }
   if (Q4IE != 0x05)
   {
     setObjVar(ship, "myshipdir", Q4IE);
     setObjVar(ship, "myshiptype", Q5SR);
     string Q5AS;
     getCurrentTimeStr(Q5AS);
     setObjVar(ship, "creationtime", Q5AS);
   }
   return (ship);
 }