Old issue was fixed. Asking my new question in this thread instead of making a new one
I just recently discovered that all the scripts ive been making is buggy.. When the scripted mob slays the party it keeps doing spells. and making a
function example_leavecombat(Unit, event, miscunit, misc)
Unit:RemoveEvents();
end
RegisterUnitEvent(npcid,2, "example_leavecombat")
Doesnt work. I also tried making one with killtarget (3)
But it doesnt work. What is the correct syntax?
In (unit, event, miscunit, misc) form?