Hmm... dont you have to use some kind of compilator or so I have heard. Does anyone know?
Safety and Peace,
Jimei.
Hmm... dont you have to use some kind of compilator or so I have heard. Does anyone know?
Safety and Peace,
Jimei.
No compiler is needed to write lua scripts. You just write it in notepad (I recommend using Notepadd++. Google it) and then plop it into your scripts folder in your server directory.
Though, you may need Lua++ for some things to work. For this, you will need to compile your server yourself, and then follow the directions on their website. (Look for Sun++.)
I live in a shoe
Thank you! +Rep
I tried it for hogger. It dont work. I used this
Code:function Hogger_1(pUnit, Event) if pUnit:GetHealthPct() < 72 then pUnit:RemoveEvents(); pUnit:SendChatMessage(12, 0, "Burning Fire!") pUnit:FullCastSpellOnTarget(30926) pUnit:RegisterEvent("Hogger_2",1000, 0) end end function Hogger_2(pUnit, Event) if pUnit:GetHealthPct() < 39 then pUnit:RemoveEvents(); pUnit:FullCastSpellOnTarget(40877) pUnit:RegisterEvent("Hogger_3",1000, 0) end end function Hogger_OnCombat(pUnit, Event) pUnit:RemoveEvents() pUnit:SendChatMessage(12, 0, Haha, here are the weaklings!") pUnit:RegisterEvent(“Hogger_1”,1000, 1) end RegisterpUnitEvent(448, 1, "Hogger_OnCombat")
For all the people wanting to learn how to sript, this is the guide to go to . This guide is truly one of the best i've seen, And i also took a few pointers from it. I no and love LUA . but i would love to undnerstand c++ and was wondering if anyone could help me with that problem . ?
Does anyone have an arcemu teleporter NPC script I can have for my server?
Would be very much appreciated, and nice guide.