Narache 0 Posted November 29, 2016 Share Posted November 29, 2016 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! Link to comment https://wrobot.eu/forums/topic/4537-wow-event-handler/ Share on other sites More sharing options...
Droidz 2742 Posted November 29, 2016 Share Posted November 29, 2016 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]); } // ... }; Link to comment https://wrobot.eu/forums/topic/4537-wow-event-handler/#findComment-21143 Share on other sites More sharing options...
Narache 0 Posted November 30, 2016 Author Share Posted November 30, 2016 Awesome, thanks Link to comment https://wrobot.eu/forums/topic/4537-wow-event-handler/#findComment-21164 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now