Difference between revisions of "Script Function: setBounty"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> setBounty(<span style="color:#0000FF">obj</span> killer) { <span style="color:#0000FF"...") |
(No difference)
|
Revision as of 08:55, 21 October 2018
function void setBounty(obj killer) { string Q4GQ; postKillerToBB(killer); attachScript(killer, "bountymark"); setNotoriety(killer, (0x00 - 0x7F)); barkTo(killer, killer, "A bounty hath been issued for thee, and thy worldly goods are hereby confiscated!"); obj bank = getItemAtSlot(killer, 0x1D); list Q47M; getContents(Q47M, bank); for(int i = 0x00; i < numInList(Q47M); i++) { bank = Q47M[i]; if (0x00) { Q4GQ = "Deleting bank item: " + getName(bank); systemMessage(killer, Q4GQ); } deleteObject(bank); } return (); }