Hello everyone :wave:, I have just created my first LUA script, from a guide here, and I wanted to know if I have done it right. I am trying to make a boss say something, here is the script I made:
function AzikinthBoss_Entercombat (pUnit, Event)
pUnit:SendChatMessage(5, 0, "How dare a wimp like you challenge me!!")
end
RegisterUnitEvent (23, 1, "AzikinthBoss_Entercombat")
If I did anything wrong, or left something out, please let me know.
Thank you,
Rian!!