Difference between revisions of "Script Function: Q66B"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q66B(<span style="color:#0000FF">int</span> start, <span style="color:#0000FF">int</span>...") |
|||
Line 12: | Line 12: | ||
{ | { | ||
debugMessage(<span style="color:#800000">"updating board#"</span> + Q518 + <span style="color:#800000">" with bounty#"</span> + i + <span style="color:#800000">"."</span>); | debugMessage(<span style="color:#800000">"updating board#"</span> + Q518 + <span style="color:#800000">" with bounty#"</span> + i + <span style="color:#800000">"."</span>); | ||
− | [[Engine Function:_multiMessage|<span style="color:#FF0000;font-weight:bold">multiMessage</span>]](Q48J[Q518], <span style="color:#800000">" | + | [[Engine Function:_multiMessage|<span style="color:#FF0000;font-weight:bold">multiMessage</span>]](Q48J[Q518], <span style="color:#800000">"setBounty"</span>, Q490[i]); |
} | } | ||
} | } | ||
<span style="color:#0000FF">return</span> (); | <span style="color:#0000FF">return</span> (); | ||
} | } |
Latest revision as of 08:56, 21 October 2018
function void Q66B(int start, int Q4NR) { if (hasCallback(this, 0x2F)) { return (); } for(int Q518 = numInList(Q48J) - 0x01; Q518 >= 0x00; Q518--) { list args; multiMessage(Q48J[Q518], "clearBounties", args); for(int i = Q4NR - 0x01; i >= start; i--) { debugMessage("updating board#" + Q518 + " with bounty#" + i + "."); multiMessage(Q48J[Q518], "setBounty", Q490[i]); } } return (); }