Difference between revisions of "Script Function: Q4JV"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4JV(<span style="color:#0000FF">obj</span> this, <span style="color:#0000FF">obj</span> t...") |
(No difference)
|
Latest revision as of 14:34, 12 October 2018
function int Q4JV(obj this, obj target) { list memoryNotoriety; if (hasObjVar(this, "memoryNotoriety")) { getObjListVar(memoryNotoriety, this, "memoryNotoriety"); } else { return (0x00); } list Q5H0; obj Q609; int Q55T = numInList(memoryNotoriety); for(int i = 0x00; i < Q55T; i++) { copyList(Q5H0, memoryNotoriety[i]); Q609 = Q5H0[0x00]; if (target == Q609) { return (0x01); if (0x00) { debugMessage("Found target in fame memory."); } } } return (0x00); }