Difference between revisions of "Script Function: Q5SD"
From Ultima Online: The Second Age
(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...") |
(No difference)
|
Latest revision as of 21:59, 11 October 2018
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); }