/// <summary> /// Makes an in game announcement for the provided time with the specified sound. (NOT WORKING CORRECTLY) /// </summary> /// <param name="announcement">announcment</param> /// <param name="timer">time to remain on screen</param> /// <param name="sound">sound to play</param> public static int EQ2Announce(string announcement, float timer, AnnouncementSound sound = AnnouncementSound.QuestComplete) { return(LavishScript.ExecuteCommand(String.Format("EQ2Announce {0} {1} {2}", announcement, timer.ToString(CultureInfo.InvariantCulture), ((int)sound).ToString(CultureInfo.InvariantCulture)))); }
/// <summary> /// Makes an in game announcement for the provided time with the specified sound. (NOT WORKING CORRECTLY) /// </summary> /// <param name="announcement">announcment</param> /// <param name="timer">time to remain on screen</param> /// <param name="sound">sound to play</param> public static int EQ2Announce(string announcement, float timer, AnnouncementSound sound = AnnouncementSound.QuestComplete) { return LavishScript.ExecuteCommand(String.Format("EQ2Announce {0} {1} {2}", announcement, timer.ToString(CultureInfo.InvariantCulture), ((int)sound).ToString(CultureInfo.InvariantCulture) )); }