Difference between revisions of "Script Function: Q4BQ"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4BQ() { for(<span style="color:#0000FF">int</span> Q629 = 0x00; Q629 < numInList...") |
|||
Line 8: | Line 8: | ||
[[Engine Function:_removeItem|<span style="color:#FF0000;font-weight:bold">removeItem</span>]](Q67L, Q629); | [[Engine Function:_removeItem|<span style="color:#FF0000;font-weight:bold">removeItem</span>]](Q67L, Q629); | ||
[[Engine Function:_removeItem|<span style="color:#FF0000;font-weight:bold">removeItem</span>]](Q67K, Q629); | [[Engine Function:_removeItem|<span style="color:#FF0000;font-weight:bold">removeItem</span>]](Q67K, Q629); | ||
+ | } | ||
+ | } | ||
+ | <span style="color:#0000FF">return</span> (); | ||
+ | } | ||
+ | |||
+ | <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4BQ() | ||
+ | { | ||
+ | for(<span style="color:#0000FF">int</span> Q629 = 0x00; Q629 < [[Engine Function:_numInList|<span style="color:#FF0000;font-weight:bold">numInList</span>]](Q67L); Q629++) | ||
+ | { | ||
+ | <span style="color:#0000FF">if</span> ([[Engine Function:_isValid|<span style="color:#FF0000;font-weight:bold">isValid</span>]](Q67L[Q629])) | ||
+ | { | ||
+ | <span style="color:#0000FF">int</span> Q4XM = [[Engine Function:_getObjType|<span style="color:#FF0000;font-weight:bold">getObjType</span>]](Q67L[Q629]); | ||
+ | <span style="color:#0000FF">if</span> ((Q4XM == 0x0192) || (Q4XM == 0x0193)) | ||
+ | { | ||
+ | [[Engine Function:_removeItem|<span style="color:#FF0000;font-weight:bold">removeItem</span>]](Q67L, Q629); | ||
+ | [[Engine Function:_removeItem|<span style="color:#FF0000;font-weight:bold">removeItem</span>]](Q67K, Q629); | ||
+ | } | ||
} | } | ||
} | } | ||
<span style="color:#0000FF">return</span> (); | <span style="color:#0000FF">return</span> (); | ||
} | } |
Latest revision as of 17:24, 12 October 2018
function void Q4BQ() { for(int Q629 = 0x00; Q629 < numInList(Q67L); Q629++) { int Q4XM = getObjType(Q67L[Q629]); if ((Q4XM == 0x0192) || (Q4XM == 0x0193)) { removeItem(Q67L, Q629); removeItem(Q67K, Q629); } } return (); }
function void Q4BQ() { for(int Q629 = 0x00; Q629 < numInList(Q67L); Q629++) { if (isValid(Q67L[Q629])) { int Q4XM = getObjType(Q67L[Q629]); if ((Q4XM == 0x0192) || (Q4XM == 0x0193)) { removeItem(Q67L, Q629); removeItem(Q67K, Q629); } } } return (); }