Script Function: Q45C

From Ultima Online: The Second Age
Revision as of 22:26, 11 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q45C(<span style="color:#0000FF">obj</span> Q5KS) { setObjVar|<span style="color:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q45C(obj Q5KS)
 {
   setObjVar(Q5KS, "isActor", 0x01);
   if (0x00)
   {
     debugMessage("Selecting a quest type.");
   }
   switch (Q5I7())
   {
   case 0x00
     if (0x00)
     {
       debugMessage("Selected fetch quest.");
     }
     Q5VO(Q5KS);
     break;
   case 0x02
     if (0x00)
     {
       debugMessage("Selected murder quest.");
     }
     Q5VQ(Q5KS);
     break;
   case 0x01
     if (0x00)
     {
       debugMessage("Selected deliver quest.");
     }
     Q5VM(Q5KS);
     break;
   case 0x03
     if (0x00)
     {
       debugMessage("Selected mystery quest.");
     }
   case 0x04
     if (0x00)
     {
       debugMessage("Selected tourney quest.");
     }
   default
     return ();
     break;
   }
   return ();
 }