play sound if node is placed missing in wiki
I want to play a sound when placing a node, but that event is not listed in the wiki
I randomly tryed "place" and it worked
Maybe someone can add this to the wiki. I don't have access until now
I randomly tryed "place" and it worked
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
sounds = {
dug = {name = "dug sound", gain = 0.5},
place = {name = "place sound", gain = 0.5}
},
Maybe someone can add this to the wiki. I don't have access until now