Difference between revisions of "Script Function: Q5K6"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">obj</span> Q5K6(<span style="color:#0000FF">obj</span> Q47Z, <span style="color:#0000FF">obj</span> Q...") |
(No difference)
|
Revision as of 17:32, 12 October 2018
function obj Q5K6(obj Q47Z, obj Q521) { obj Q58D; obj killer; obj Q4QI; list Q4E4; getContents(Q4E4, Q47Z); int Q55T = numInList(Q4E4); for(int i = 0x00; i < Q55T; i++) { Q58D = Q4E4[i]; if (getObjType(Q58D) == 0x0EB0) { if (hasObjVar(Q58D, "killer")) { killer = getObjVar(Q58D, "killer"); if (killer == Q521) { return (Q58D); } } } } return (NULL()); }