/// <summary>
 /// Creates a yes/no prompt from quest message.
 /// Caller must set events and call Show() when ready.
 /// </summary>
 public DaggerfallMessageBox CreateMessagePrompt(Quest quest, int id)
 {
     Message message = quest.GetMessage(id);
     if (message != null)
         return CreateMessagePrompt(message);
     else
         return null;
 }
Example #2
0
        /// <summary>
        /// Creates a yes/no prompt from quest message.
        /// Caller must set events and call Show() when ready.
        /// </summary>
        public DaggerfallMessageBox CreateMessagePrompt(Quest quest, int id)
        {
            Message message = quest.GetMessage(id);

            if (message != null)
            {
                return(CreateMessagePrompt(message));
            }
            else
            {
                return(null);
            }
        }