[Cloud] New guy
Posts: 2 Join date: 2008-07-01
 | Subject: [Cloud] Application Tue Jul 01, 2008 3:38 pm | |
| Well what can I really say I just started LUA scripting about a week ago and I'm essentially getting better at it everyday. I believe I would be a good addition to the team because even though I am a bit inexperienced, I am a hard worker and a fast learner. I am constantly learning more commands every day and essentially learning more about emulation in general. I have a level 70 warrior (herezjonny) on spirestone so I know what I'm doing when it comes to scripting. I personally have never scripted areas before but I have seen your scripts and I understand them so I can be a great help. I am not going to lie, since I've just started LUA I haven't seen this command yet: local plr = pUnit:GetClosestPlayer() if (plr ~= nil) then I also have some basic question but it is not a great deal. I have seen your work and I think it is great and I would like to be a part of it. Here is an example of my work: | Code: | function Anger_OnEnterCombat pUnit:SendChatMessage(12, 0, "You have awoken me, feel my wrath!") pUnit:RegisterEvent("ConeOfFire) pUnit:RegisterEvent("Fireball") pUnit:RegisterEvent("BlastWave") pUnit:RegisterEvent("LowHealth") end
funtion Anger_OnLeaveCombat pUnit:RemoveEvents() end
function Anger_OnKilledTarget local Choice=math.random(1, 3) if Choice==1 then pUnit:SendChatMessage(12, 0, "Is that all the strength you can muster?!") elseif Choice==2 then pUnit:SendChatMessage(12, 0, "This is child's play!") elseif Choice==3 then pUnit:SendChatMessage(12, 0, "You are no match for me!") end
function Anger_OnDied pUnit:SendChatMessage(12, 0, "This cannot be!") pUnit:RemoveEvents() end
function ConeOfFire pUnit:CastSpell(19630) SetTimer(10, "ConeOfFire") end
function Fireball pUnit:CastSpellOnTarget(41484,unit:GetClosestPlayer(0)) end
function BlastWave pUnit:CastSpell(33933) SetTimer(15, "BlastWave") end
function LowHealth if GetHealthPct()< 30 then pUnit:SendChatMessage(12, 0, "I seem to have Underestimated you! Time to turn up the heat!" pUnit:RegisterEvent("BlastWave") end
RegisterUnitEvent(24882, 1, "Anger_OnEnterCombat") RegisterUnitEvent(24882, 2, "Anger_OnLeaveCombat") RegisterUnitEvent(24882, 3, "Anger_OnKillTarget") RegisterUnitEvent(24882, 4, "Anger_OnDied") |
|
|
Darhan Admin

Posts: 63 Join date: 2008-04-23
 | Subject: Re: [Cloud] Application Wed Jul 02, 2008 7:12 am | |
| |
|
mager1794 New guy
Posts: 3 Join date: 2008-07-03
 | Subject: Re: [Cloud] Application Thu Jul 03, 2008 6:17 am | |
| i thought project shadowcast made that script? |
|