Hey there,
Im scripting a boss, but it doenst workScript:
when i remove the "GetHealthPct" part, it does work. When i attack it now, it slowly dies, but the script is never activated? My Mob had 9k hp.Code:function TBB_Event(pUnit, event, miscunit, misc) if pUnit:GetHealthPct() < 70 then pUnit:SetScale(4); -- Grows back to full height if you run. pUnit:SendChatMessage(12, 0, "Me big!") pUnit:RemoveEvents(); end end RegisterUnitEvent(700002,1, "TBB_Event")
Someone? (will give +Rep)