Пример #1
0
        /// <summary>
        /// Play a text and sound identify by the id
        /// </summary>
        /// <param name="id">Id of the text in creature_ai_texts</param>
        public void PlayTextAndSoundById(int id)
        {
            var text = NPCAiTextMgr.GetFirstTextById(id);

            if (text != null)
            {
                PlayTextAndSound(text);
            }
        }