Beginning Lua with World of Warcraft Addons by Paul Emmerich
Author:Paul Emmerich [Paul Emmerich]
Language: eng
Format: epub
Tags: Game Development
Publisher: Apress
Published: 2009-07-28T21:00:00+00:00
There are more suffixes with even more arguments. Appendix B contains a table that lists all arguments for all combat log events.
Let's see a practical use for these events now.
Building an Event Handler
Dealing with a subevent is essentially no different than with a normal event, so you can just use your normal event handler. But it might be sometimes useful to treat the subevents like real events. The following code shows an event handler that does this:
MyMod = {}
local function onEvent(self, event, ...)
if event == "COMBAT_LOG_EVENT_UNFILTERED" then
return onEvent(self, select(2, ...), ...)
elseif MyMod[event] then
return MyMod[event](...)
end
end
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Blood, Sweat, and Pixels by Jason Schreier(3486)
Dawn of the New Everything by Jaron Lanier(2690)
Godot 4 Game Development Cookbook by Jeff Johnson(2555)
The Art of Doom by Bethesda(2037)
Significant Zero by Walt Williams(1885)
Creative Character Design by Bryan Tillman(1842)
World of Warcraft Chronicle Volume 3 by Blizzard Entertainment(1663)
The Ultimate Roblox Book by David Jagneaux(1617)
Art Of Atari by Tim Lapetino(1567)
Pillars of Eternity Guidebook by Obsidian Entertainment(1539)
Dawn of the New Everything: Encounters with Reality and Virtual Reality by Jaron Lanier(1539)
1628927445Game by Unknown(1478)
Unreal Engine 4 Virtual Reality Projects by Kevin Mack(1475)
Mission Python by Sean McManus(1457)
Unreal Engine Virtual Reality Quick Start Guide by Jessica Plowman(1455)
The Ultimate Player's Guide to Minecraft by Stephen O'Brien(1421)
Learning D by 2015(1419)
Unity 2018 By Example by Alan Thorn(1394)
Road Games by Road Games(1369)
