Page 1 of 1
Play loop sounds from a node

Posted:
Fri May 06, 2016 12:02
by burli
Currently it is only possible to play a sound from a position or a loop sound from an object. But what if I want to play a loop sound from a node like a torch? Sound should start if node is placed and stopped it the node is removed.
I think I can place an object at the same position to handle the sound, but what about it a loop sound can be attached to a node?
Re: Play loop sounds from a node

Posted:
Sat May 07, 2016 13:04
by Thomas-S
Re: Play loop sounds from a node

Posted:
Sat May 07, 2016 16:31
by burli
If I understand this code positional sounds can be looped. Hm, then there is something wrong in the wiki and the
Lua APII will try it. Thx
Re: Play loop sounds from a node

Posted:
Sat May 07, 2016 18:27
by burli
OK, it's working, but not as good as I want. I need to "store" the sounds in the map. That's what I have feared
But if this feature is now implemented someone has to edit the wiki. I can't, I don't have access to the dev wiki
Edit: or I can use LBMs... hmmm
Re: Play loop sounds from a node

Posted:
Sat May 07, 2016 21:49
by blert2112
Look at the 'Fire' mod from MintestGame.
Re: Play loop sounds from a node

Posted:
Sun May 08, 2016 05:28
by burli
My solution is similar, but I will usw LBMs to "ignite" the fire after Server restart