Thread Tools Display Modes
05/23/14, 06:00 PM   #1
Iyanga
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 183
Originally Posted by Edda View Post
While downloading this insanely big update...

Did anyone find documentation on :

Lua Code:
  1. EVENT_COMBAT_EVENT (
  2. integer result,
  3. bool isError,
  4. string abilityName,
  5. integer abilityGraphic,
  6. integer abilityActionSlotType,
  7. string sourceName,
  8. integer sourceType,
  9. string targetName,
  10. integer targetType,
  11. integer hitValue,
  12. integer powerType,
  13. integer damageType,
  14. bool log
  15. )

I want to check if player is fighting either a mob/elite/whatever or another player. I think what I need to check is integer targetType but no idea what values this var can hold.
targetType
sourceType
powerType
damageType
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Fighting mob or player ?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off