um illidan.. u missed this
Step 7 : RegisterUnitEvent (Npc Spawn ID, 4, "NpcName_Event") = The same ass "Step 3" and "Step 4"
as not ass thank you sorry lol
um illidan.. u missed this
Step 7 : RegisterUnitEvent (Npc Spawn ID, 4, "NpcName_Event") = The same ass "Step 3" and "Step 4"
as not ass thank you sorry lol
verry nice + rep![]()
Sigh i need help getting my LUA script to work
function Undead insurgent_Event (pUnit , Event)
pUnit:CastSpell (27072)
end
RegisterUnitEvent (26000 , 1 , "Undead insurgent _Event")
thats the code anyone have any idea what i did wrong ?
Do you have .lua Enabled for your Ascent Core?
very nice guide, rep'd
Thanks Millenium, nearly to Elite User, any one need any help with guide?
Another epic from Illidan1
Thanks guys, i lost 14 rep for asking for Rep some were, im trying to find were i asked
for rep.. lol, but thanks again for the Comments
Hey illidan uhm u know the script to make a npc cast a spell it will only cast 1 time and on himself (I think)
Well if it is a Spell that casts on your Self it would, and if you need to
cast it at like when it gets to 70% life and then 505 life Or w/e / Etc
go here > Units Commands - Ascent Wiki
Or ask Gastric for more Info
yea iit says it failed but all the other scripts but the one i added work and i saved the file as a txt file and as all files with the file extention .lua so idk.
plusz now i need a new repack i deleted mine :P
thanks if u can help +rep
EDIT: ... i reloaded my old repack scripts work now >.>
Last edited by Dee2001; 01-20-2008 at 03:12 PM.
nice guide![]()
Ilidan could you give me an E.g. Of a Npc on gossip talk?
Cheese Cake?
Hello.
Maybe you can help me. I want to create a script for a certain monster: Whenever a rogue uses "pick pocket" on it, he and all of his group members (if available) are added a certain item to their inventory. There is supposed to be the limitation that they only get that item if they don't have it yet and if they have a certain quest in their log. Maybe you can help me with this, I am new to LUA.
Thanks
can some tell me whats wrong with this please its like the only problem in my script i cant figure out?? please help
function Boss_OnCombat (pUnit,Event)
pUnit:RegisterEvent("Boss_Phase1,1000,0)
end
RegisterUnitEvent(1235123,1,"Boss_OnCombat")