Can't make event_combat_event work
Hi again, sorry my english. I'm trying to make something happens when the enemy hits the player, and I have this code now:
Code:
local function MyEventOnHit(result, isError, abilityName, abilityGraphic, abilityActionSlotType, sourceName, sourceType, targetName, targetType, hitValue, powerType, damageType, log) What I want to do is when an enemy (all type of enemies) hits the player, with any damage type, something happen. I don't know if I'm doing this right with that code above. Also, I'm not sure if the targetType it's ok or not. But when I enter the game, and make an enemy attacks me and hits me, nothing happens :/ I'm not really sure I'm doing this right. Can someone help me? Thank you :) |
Quote:
What result do you expect? |
Ahh, true. Thanks.
|
All times are GMT -6. The time now is 02:51 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI