Difference between revisions of "Script Function: Q42G"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">obj</span> Q42G(<span style="color:#0000FF">obj</span> Q47Z) { <span style="color:#0000FF">list...") |
(No difference)
|
Latest revision as of 03:03, 12 October 2018
function obj Q42G(obj Q47Z) { list Q4E4; getContents(Q4E4, Q47Z); int Q55T = numInList(Q4E4); for(int i = 0x00; i < Q55T; i++) { obj item = Q4E4[i]; if (getObjType(item) == 0x0EB0) { if (hasObjVar(item, "isPkMsg")) { return (item); } } } return (NULL()); }