
I second thatProzail wrote:
Also, an onDamage hook on the HealthComponent would be nice.
Code: Select all
{
class = "Health",
health = 20,
onDie = function()
party.party:shakeCamera(0.3,0.6)
playSound("wall_sliding_lock")
--etc.
end
}