self:RegisterEvent("PLAYER_REGEN_ENABLED");
causes
AceEvent-2.0: Cannot register event "PLAYER_REGEN_ENABLED" to method "PLAYER_REGEN_ENABLED", it does not exist
The same for event "PLAYER_REGEN_DISABLED". Any ideas? Or are these events only in TBC Beta available?
causes
AceEvent-2.0: Cannot register event "PLAYER_REGEN_ENABLED" to method "PLAYER_REGEN_ENABLED", it does not exist
The same for event "PLAYER_REGEN_DISABLED". Any ideas? Or are these events only in TBC Beta available?
You can also do:
On a side note: Semi-colons are optional in Lua :)
This is exactly what I did, but it causes the error msg i posted above.
It does work with all other events
I know, it's just a Delphi habit. ^^