death and hurt sounds
I have been looking at trying to make a mod to add sound to when you get hurt and when you die.
But I can't seem to figure out how the api's minetest.sound_play minetest.register_on_dieplayer structure works. Let alone how to use them together. Also I don't see an api for when you get hurt. Could someone explain what the different parts of the register on dieplayer are and do that would be nice. And she same for the sound play.
Thanks Microsuperman
But I can't seem to figure out how the api's minetest.sound_play minetest.register_on_dieplayer structure works. Let alone how to use them together. Also I don't see an api for when you get hurt. Could someone explain what the different parts of the register on dieplayer are and do that would be nice. And she same for the sound play.
Thanks Microsuperman