"item_fall" is the sound for the bounces (you can use the one of the bomb, I think it is "bomb").
The hero is frozen in the throw function (in generic_portable.lua) and unfrozen when the throwing animation of the hero has finished. Something is not working correctly. The unfreeze is called in as this callback:
so maybe the problem is that the "throw" animation has not finished (does it have an end?).
EDIT: Ok, the problem is that there is not a default throw animation (I created one for my heroes but there is not one for Link). Just create one, and the code may work then.
EDIT 2: the "throw" animation has to be in the normal tunic ("tunic1"), not the carrying one.
The hero is frozen in the throw function (in generic_portable.lua) and unfrozen when the throwing animation of the hero has finished. Something is not working correctly. The unfreeze is called in as this callback:
Code Select
hero:set_animation("throw", function()
hero:set_animation("stopped"); hero:set_invincible(false); hero:unfreeze()
end)
so maybe the problem is that the "throw" animation has not finished (does it have an end?).
EDIT: Ok, the problem is that there is not a default throw animation (I created one for my heroes but there is not one for Link). Just create one, and the code may work then.
EDIT 2: the "throw" animation has to be in the normal tunic ("tunic1"), not the carrying one.