November 29, 20169 yr Hello, is there any interface to register to Wow event via FrameScript_SignalEventHandler Im planning to do a "quest recorder" bot base and so I will need to register to some events (Quest accepted, completed ect ect...) It is possible to implement and can be very usefull (even for plugins, fight classes ect...) depending on how your IPC work, i hope it can be feasable!
November 29, 20169 yr Hello, wait next update and use code like: EventsLuaWithArgs.OnEventsLuaWithArgs += delegate(LuaEventsId id, List<string> args) { if (id == LuaEventsId.QUEST_ACCEPTED && args.Count == 2) // http://wow.gamepedia.com/Events/Q#QUEST_ACCEPTED { var title = Lua.LuaDoString<string>("local title = GetQuestLogTitle(" + args[0] + "); return title;"); Logging.WriteDebug("Quest accepted: '" + title + "' (id=" + args[1] + ")"); } else if (id == LuaEventsId.QUEST_REMOVED && args.Count == 1) // http://wow.gamepedia.com/Events/Q#QUEST_REMOVED { Logging.WriteDebug("Quest removed: id=" + args[0]); } // ... };
Create an account or sign in to comment