from lnx.logicnode.lnx_nodes import * class SetSoundSpeakerNode(LnxLogicTreeNode): """sets sound name of the given speaker object. @seeNode Play Speaker @seeNode Stop Speaker """ bl_idname = 'LNSetSoundNode' bl_label = 'Set Sound Speaker' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxNodeSocketAction', 'In') self.add_input('LnxNodeSocketObject', 'Speaker') self.add_input('LnxStringSocket', 'Sound Name') self.add_output('LnxNodeSocketAction', 'Out')