PerseusSpartacus wrote:Or 5, make the polygon a 'Major Damage Polygon' (doable in Weland). This makes it so the player will take damage if they are above/standing on that polygon, killing them in a short amount of time. This isn't the best method, though, and I'd recommend instead using RyokoTK's method:
- Code: Select all
function Triggers.idle()
for p in Players() do
if p.z < -3.00 and not p.dead then
p:damage(150,"suffocation")
end
end
end
Just replace "-3.00" with the appropriate height in WUs. Suffocation is the best kind of damage to use, as it doesn't cause a flash on the screen, and the sound it makes is kind of fun (though it is a little weird as well).
Is there a script to do that? or I must make it from scratch?