Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clone this wiki locally
obj = GHI_GHI_Event(event,func) obj.function()
- This is a blizzard game event. See WoW Programming[http://wowprogramming.com/docs/events] for a complete list of events.
- When the event defined before fires, this function will go off.
local killMessFunc = function(event,...)
local timestamp, type, hideCaster,
sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags = ...;
if type == "PARTY_KILL" then
print("You killed a "..destName)
local killmess = GHI_Event("COMBAT_LOG_EVENT_UNFILTERED",killMessFunc)
This script will cause you to see a message telling you what you just killed when you or a party member kill something.