Difference between revisions of "Script Function: Q4WV"
From Ultima Online: The Second Age
(3 intermediate revisions by the same user not shown) | |||
Line 92: | Line 92: | ||
[[Engine Function:_setX|<span style="color:#FF0000;font-weight:bold">setX</span>]](Q5CV, [[Engine Function:_getX|<span style="color:#FF0000;font-weight:bold">getX</span>]](Q5CV) + 0x01); | [[Engine Function:_setX|<span style="color:#FF0000;font-weight:bold">setX</span>]](Q5CV, [[Engine Function:_getX|<span style="color:#FF0000;font-weight:bold">getX</span>]](Q5CV) + 0x01); | ||
Q63A = [[Engine Function:_createGlobalObjectAt|<span style="color:#FF0000;font-weight:bold">createGlobalObjectAt</span>]](0x0930, Q5CV); | Q63A = [[Engine Function:_createGlobalObjectAt|<span style="color:#FF0000;font-weight:bold">createGlobalObjectAt</span>]](0x0930, Q5CV); | ||
+ | [[Script_Function:_Q4X0|<span style="color:#2B91AF">Q4X0</span>]](Q63A); | ||
+ | } | ||
+ | <span style="color:#0000FF">return</span> (); | ||
+ | } | ||
+ | |||
+ | <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4WV(<span style="color:#0000FF">obj</span> Q5AO, <span style="color:#0000FF">loc</span> Q5CV) | ||
+ | { | ||
+ | <span style="color:#0000FF">return</span> (); | ||
+ | } | ||
+ | |||
+ | <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4WV(<span style="color:#0000FF">obj</span> Q5AO, <span style="color:#0000FF">loc</span> Q5CV) | ||
+ | { | ||
+ | <span style="color:#0000FF">obj</span> Q63A; | ||
+ | <span style="color:#0000FF">loc</span> Q5IO; | ||
+ | <span style="color:#0000FF">if</span> (Q5AO != [[Engine Function:_NULL|<span style="color:#FF0000;font-weight:bold">NULL</span>]]()) | ||
+ | { | ||
+ | Q5IO = Q5CV; | ||
+ | [[Engine Function:_changeLoc|<span style="color:#FF0000;font-weight:bold">changeLoc</span>]](Q5IO, 0x05, 0x02, 0x07); | ||
+ | Q63A = [[Engine Function:_createGlobalObjectAt|<span style="color:#FF0000;font-weight:bold">createGlobalObjectAt</span>]](0x1061, Q5IO); | ||
+ | [[Script_Function:_Q4X0|<span style="color:#2B91AF">Q4X0</span>]](Q63A); | ||
+ | [[Engine Function:_changeLoc|<span style="color:#FF0000;font-weight:bold">changeLoc</span>]](Q5IO, 0x01, 0x00, 0x00); | ||
+ | Q63A = [[Engine Function:_createGlobalObjectAt|<span style="color:#FF0000;font-weight:bold">createGlobalObjectAt</span>]](0x1062, Q5IO); | ||
+ | [[Script_Function:_Q4X0|<span style="color:#2B91AF">Q4X0</span>]](Q63A); | ||
+ | [[Engine Function:_changeLoc|<span style="color:#FF0000;font-weight:bold">changeLoc</span>]](Q5IO, 0x00 - 0x01, 0x01, 0x00); | ||
+ | Q63A = [[Engine Function:_createGlobalObjectAt|<span style="color:#FF0000;font-weight:bold">createGlobalObjectAt</span>]](0x104A, Q5IO); | ||
+ | [[Script_Function:_Q4X0|<span style="color:#2B91AF">Q4X0</span>]](Q63A); | ||
+ | [[Engine Function:_changeLoc|<span style="color:#FF0000;font-weight:bold">changeLoc</span>]](Q5IO, 0x00 - 0x01, 0x02, 0x00); | ||
+ | Q63A = [[Engine Function:_createGlobalObjectAt|<span style="color:#FF0000;font-weight:bold">createGlobalObjectAt</span>]](0x1015, Q5IO); | ||
+ | [[Script_Function:_Q4X0|<span style="color:#2B91AF">Q4X0</span>]](Q63A); | ||
+ | } | ||
+ | <span style="color:#0000FF">return</span> (); | ||
+ | } | ||
+ | |||
+ | <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4WV(<span style="color:#0000FF">obj</span> Q5AO, <span style="color:#0000FF">loc</span> Q5CV) | ||
+ | { | ||
+ | <span style="color:#0000FF">obj</span> Q63A; | ||
+ | <span style="color:#0000FF">loc</span> Q5IO; | ||
+ | <span style="color:#0000FF">if</span> (Q5AO != [[Engine Function:_NULL|<span style="color:#FF0000;font-weight:bold">NULL</span>]]()) | ||
+ | { | ||
+ | Q5IO = Q5CV; | ||
+ | [[Engine Function:_changeLoc|<span style="color:#FF0000;font-weight:bold">changeLoc</span>]](Q5IO, 0x03, 0x02, 0x07); | ||
+ | Q63A = [[Engine Function:_createGlobalObjectAt|<span style="color:#FF0000;font-weight:bold">createGlobalObjectAt</span>]](0x197A, Q5IO); | ||
+ | [[Script_Function:_Q4X0|<span style="color:#2B91AF">Q4X0</span>]](Q63A); | ||
+ | [[Engine Function:_changeLoc|<span style="color:#FF0000;font-weight:bold">changeLoc</span>]](Q5IO, 0x01, 0x00, 0x00); | ||
+ | Q63A = [[Engine Function:_createGlobalObjectAt|<span style="color:#FF0000;font-weight:bold">createGlobalObjectAt</span>]](0x197E, Q5IO); | ||
+ | [[Script_Function:_Q4X0|<span style="color:#2B91AF">Q4X0</span>]](Q63A); | ||
+ | [[Engine Function:_changeLoc|<span style="color:#FF0000;font-weight:bold">changeLoc</span>]](Q5IO, 0x01, 0x00, 0x00); | ||
+ | Q63A = [[Engine Function:_createGlobalObjectAt|<span style="color:#FF0000;font-weight:bold">createGlobalObjectAt</span>]](0x1982, Q5IO); | ||
+ | [[Script_Function:_Q4X0|<span style="color:#2B91AF">Q4X0</span>]](Q63A); | ||
+ | [[Engine Function:_changeLoc|<span style="color:#FF0000;font-weight:bold">changeLoc</span>]](Q5IO, 0x00, 0x02, 0x00); | ||
+ | Q63A = [[Engine Function:_createGlobalObjectAt|<span style="color:#FF0000;font-weight:bold">createGlobalObjectAt</span>]](0x0FAF, Q5IO); | ||
+ | [[Script_Function:_Q4X0|<span style="color:#2B91AF">Q4X0</span>]](Q63A); | ||
+ | } | ||
+ | <span style="color:#0000FF">return</span> (); | ||
+ | } | ||
+ | |||
+ | <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4WV(<span style="color:#0000FF">obj</span> Q5AO, <span style="color:#0000FF">loc</span> Q5CV) | ||
+ | { | ||
+ | <span style="color:#0000FF">obj</span> Q63A; | ||
+ | <span style="color:#0000FF">if</span> (Q5AO != [[Engine Function:_NULL|<span style="color:#FF0000;font-weight:bold">NULL</span>]]()) | ||
+ | { | ||
+ | <span style="color:#0000FF">loc</span> Q5IO; | ||
+ | Q5IO = Q5CV; | ||
+ | [[Engine Function:_changeLoc|<span style="color:#FF0000;font-weight:bold">changeLoc</span>]](Q5IO, 0x05, 0x00 - 0x06, 0x07); | ||
+ | Q63A = [[Engine Function:_createGlobalObjectAt|<span style="color:#FF0000;font-weight:bold">createGlobalObjectAt</span>]](0x0943, Q5IO); | ||
+ | [[Script_Function:_Q4X0|<span style="color:#2B91AF">Q4X0</span>]](Q63A); | ||
+ | [[Engine Function:_changeLoc|<span style="color:#FF0000;font-weight:bold">changeLoc</span>]](Q5IO, 0x00 - 0x01, 0x00, 0x00); | ||
+ | Q63A = [[Engine Function:_createGlobalObjectAt|<span style="color:#FF0000;font-weight:bold">createGlobalObjectAt</span>]](0x0944, Q5IO); | ||
+ | [[Script_Function:_Q4X0|<span style="color:#2B91AF">Q4X0</span>]](Q63A); | ||
+ | [[Engine Function:_changeLoc|<span style="color:#FF0000;font-weight:bold">changeLoc</span>]](Q5IO, 0x01, 0x00, 0x15); | ||
+ | Q63A = [[Engine Function:_createGlobalObjectAt|<span style="color:#FF0000;font-weight:bold">createGlobalObjectAt</span>]](0x08D2, Q5IO); | ||
+ | [[Script_Function:_Q4X0|<span style="color:#2B91AF">Q4X0</span>]](Q63A); | ||
+ | Q5IO = Q5CV; | ||
+ | [[Engine Function:_changeLoc|<span style="color:#FF0000;font-weight:bold">changeLoc</span>]](Q5IO, 0x03, 0x00, 0x08); | ||
+ | Q63A = [[Engine Function:_createGlobalObjectAt|<span style="color:#FF0000;font-weight:bold">createGlobalObjectAt</span>]](0x192C, Q5IO); | ||
+ | [[Script_Function:_Q4X0|<span style="color:#2B91AF">Q4X0</span>]](Q63A); | ||
+ | [[Engine Function:_changeLoc|<span style="color:#FF0000;font-weight:bold">changeLoc</span>]](Q5IO, 0x00, 0x01, 0x00); | ||
+ | Q63A = [[Engine Function:_createGlobalObjectAt|<span style="color:#FF0000;font-weight:bold">createGlobalObjectAt</span>]](0x192E, Q5IO); | ||
+ | [[Script_Function:_Q4X0|<span style="color:#2B91AF">Q4X0</span>]](Q63A); | ||
+ | [[Engine Function:_changeLoc|<span style="color:#FF0000;font-weight:bold">changeLoc</span>]](Q5IO, 0x00, 0x01, 0x00); | ||
+ | Q63A = [[Engine Function:_createGlobalObjectAt|<span style="color:#FF0000;font-weight:bold">createGlobalObjectAt</span>]](0x1937, Q5IO); | ||
[[Script_Function:_Q4X0|<span style="color:#2B91AF">Q4X0</span>]](Q63A); | [[Script_Function:_Q4X0|<span style="color:#2B91AF">Q4X0</span>]](Q63A); | ||
} | } | ||
<span style="color:#0000FF">return</span> (); | <span style="color:#0000FF">return</span> (); | ||
} | } |
Latest revision as of 16:22, 12 October 2018
function void Q4WV(obj Q5AO, loc Q5CV) { obj Q63A; if (Q5AO != NULL()) { setZ(Q5CV, getZ(Q5CV) + 0x07); setX(Q5CV, getX(Q5CV) - 0x01); setY(Q5CV, getY(Q5CV) - 0x02); Q63A = createGlobalObjectAt(0x1019, Q5CV); Q4X0(Q63A); setX(Q5CV, getX(Q5CV) + 0x02); Q63A = createGlobalObjectAt(0x1061, Q5CV); Q4X0(Q63A); setX(Q5CV, getX(Q5CV) + 0x01); Q63A = createGlobalObjectAt(0x1062, Q5CV); Q4X0(Q63A); } return (); }
function void Q4WV(obj Q5AO, loc Q5CV) { obj Q63A; if (Q5AO != NULL()) { setZ(Q5CV, getZ(Q5CV) + 0x07); setX(Q5CV, getX(Q5CV) - 0x02); setY(Q5CV, getY(Q5CV) + 0x01); Q63A = createGlobalObjectAt(0x1074, Q5CV); Q4X0(Q63A); setY(Q5CV, getY(Q5CV) - 0x03); setX(Q5CV, getX(Q5CV) + 0x03); Q63A = createGlobalObjectAt(0x1070, Q5CV); Q4X0(Q63A); } return (); }
function void Q4WV(obj Q5AO, loc Q5CV) { obj Q63A; if (Q5AO != NULL()) { setZ(Q5CV, getZ(Q5CV) + 0x07); setX(Q5CV, getX(Q5CV) - 0x02); setY(Q5CV, getY(Q5CV) + 0x01); Q63A = createGlobalObjectAt(0x1EC3, Q5CV); Q4X0(Q63A); setY(Q5CV, getY(Q5CV) - 0x03); setX(Q5CV, getX(Q5CV) + 0x03); Q63A = createGlobalObjectAt(0x1EC0, Q5CV); Q4X0(Q63A); } return (); }
function void Q4WV(obj Q5AO, loc Q5CV) { obj Q63A; if (Q5AO != NULL()) { setZ(Q5CV, getZ(Q5CV) + 0x07); Q63A = createGlobalObjectAt(0x0FAF, Q5CV); Q4X0(Q63A); setX(Q5CV, getX(Q5CV) + 0x01); Q63A = createGlobalObjectAt(0x0FB1, Q5CV); Q4X0(Q63A); } return (); }
function void Q4WV(obj Q5AO, loc Q5CV) { obj Q63A; if (Q5AO != NULL()) { setZ(Q5CV, getZ(Q5CV) + 0x07); setX(Q5CV, getX(Q5CV) - 0x02); setY(Q5CV, getY(Q5CV) - 0x02); Q63A = createGlobalObjectAt(0x192C, Q5CV); Q4X0(Q63A); setY(Q5CV, getY(Q5CV) + 0x01); Q63A = createGlobalObjectAt(0x192E, Q5CV); Q4X0(Q63A); setY(Q5CV, getY(Q5CV) + 0x01); Q63A = createGlobalObjectAt(0x1930, Q5CV); Q4X0(Q63A); setY(Q5CV, getY(Q5CV) - 0x02); setX(Q5CV, getX(Q5CV) + 0x02); Q63A = createGlobalObjectAt(0x0931, Q5CV); Q4X0(Q63A); setX(Q5CV, getX(Q5CV) + 0x01); Q63A = createGlobalObjectAt(0x0930, Q5CV); Q4X0(Q63A); } return (); }
function void Q4WV(obj Q5AO, loc Q5CV) { return (); }
function void Q4WV(obj Q5AO, loc Q5CV) { obj Q63A; loc Q5IO; if (Q5AO != NULL()) { Q5IO = Q5CV; changeLoc(Q5IO, 0x05, 0x02, 0x07); Q63A = createGlobalObjectAt(0x1061, Q5IO); Q4X0(Q63A); changeLoc(Q5IO, 0x01, 0x00, 0x00); Q63A = createGlobalObjectAt(0x1062, Q5IO); Q4X0(Q63A); changeLoc(Q5IO, 0x00 - 0x01, 0x01, 0x00); Q63A = createGlobalObjectAt(0x104A, Q5IO); Q4X0(Q63A); changeLoc(Q5IO, 0x00 - 0x01, 0x02, 0x00); Q63A = createGlobalObjectAt(0x1015, Q5IO); Q4X0(Q63A); } return (); }
function void Q4WV(obj Q5AO, loc Q5CV) { obj Q63A; loc Q5IO; if (Q5AO != NULL()) { Q5IO = Q5CV; changeLoc(Q5IO, 0x03, 0x02, 0x07); Q63A = createGlobalObjectAt(0x197A, Q5IO); Q4X0(Q63A); changeLoc(Q5IO, 0x01, 0x00, 0x00); Q63A = createGlobalObjectAt(0x197E, Q5IO); Q4X0(Q63A); changeLoc(Q5IO, 0x01, 0x00, 0x00); Q63A = createGlobalObjectAt(0x1982, Q5IO); Q4X0(Q63A); changeLoc(Q5IO, 0x00, 0x02, 0x00); Q63A = createGlobalObjectAt(0x0FAF, Q5IO); Q4X0(Q63A); } return (); }
function void Q4WV(obj Q5AO, loc Q5CV) { obj Q63A; if (Q5AO != NULL()) { loc Q5IO; Q5IO = Q5CV; changeLoc(Q5IO, 0x05, 0x00 - 0x06, 0x07); Q63A = createGlobalObjectAt(0x0943, Q5IO); Q4X0(Q63A); changeLoc(Q5IO, 0x00 - 0x01, 0x00, 0x00); Q63A = createGlobalObjectAt(0x0944, Q5IO); Q4X0(Q63A); changeLoc(Q5IO, 0x01, 0x00, 0x15); Q63A = createGlobalObjectAt(0x08D2, Q5IO); Q4X0(Q63A); Q5IO = Q5CV; changeLoc(Q5IO, 0x03, 0x00, 0x08); Q63A = createGlobalObjectAt(0x192C, Q5IO); Q4X0(Q63A); changeLoc(Q5IO, 0x00, 0x01, 0x00); Q63A = createGlobalObjectAt(0x192E, Q5IO); Q4X0(Q63A); changeLoc(Q5IO, 0x00, 0x01, 0x00); Q63A = createGlobalObjectAt(0x1937, Q5IO); Q4X0(Q63A); } return (); }