Can someone make this into a uhm.. console command?
Then I can bind it too a key. :)
[url]http://www.youtube.com/watch?v=E-_XqduC1Vg[/url]
Please make the end more smooth. I dont like the "sudden quit".
Make it take 40 dmg every second in 5 second.
Thats all! Hope it's not to complicated ;p
[B]EDIT:[/B]
Make the range so it fits the ring please.
and maybe a bit more than 40 dmg if you think it's too little.
Thanks agien!
Cmon guys!
[code]
function HBurstThing(ply)
for k,v in pairs (ents.FindInSphere( ply:GetPos(), 300 )) do
if v:IsNPC() then
v.DissolveThem = true
v:TakeDamage(1000,ply,ply)
end
end
end
concommand.Add("BurstThing",HBurstThing)
function BurstDamageThing(ent, inflictor, attacker, amount, dmginfo)
if ent.DissolveThem == true then
dmginfo:SetDamageType(DMG_DISSOLVE)
end
end
hook.Add("EntityTakeDamage",BurstDamageThing)
[/code]
Throw it into a server side lua file, Type burstthing in the console and hit enter.
Sorry, you need to Log In to post a reply to this thread.