Script Function: Q4MR

From Ultima Online: The Second Age
Revision as of 17:38, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4MR(<span style="color:#0000FF">obj</span> killer, <span style="color:#0000FF">obj</span...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q4MR(obj killer, obj victim)
 {
   if (hasObjVar(this, "bountyKiller"))
   {
     removeObjVar(this, "bountyKiller");
   }
   list Q59P;
   setObjVar(victim, "myLastKiller", killer);
   appendToList(Q59P, 0x00);
   appendToList(Q59P, "YES - You report them to Lord British's guards. This will increase the recorded murders under this person's name and may result in a bounty placed on their head.");
   appendToList(Q59P, 0x01);
   appendToList(Q59P, "NO - you forgive this person for killing you and do not report them to Lord British's guards.");
   selectType(victim, victim, 0x01, "You have been murdered! Do you wish to report this crime to Lord British's guards?", Q59P);
   if (0x00)
   {
     bark(killer, "Opening reporting menu.");
   }
   return ();
 }