View Single Post
08-20-11, 08:55 PM   #11
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Ketho View Post
Shouldn't it be something like this?
Code:
ExecuteSoundTable = {
	["playerDied"] = "laugh",
	["unitDied"] = "fatality",
	["executeTime"] = "finish him",
	["havePost"] = "hallo post",
}
You only need to bracket/quote table keys if they contain "special" characters like spaces or periods that wouldn't be valid in, say, a variable name. playerDied does not need to be bracketed and quoted as a table key, though if you prefer to always bracket/quote your table keys for style reasons, it won't break anything if you do.
  Reply With Quote