from lnx.logicnode.lnx_nodes import * class SetTimeScaleNode(LnxLogicTreeNode): """Sets the global time scale.""" bl_idname = 'LNSetTimeScaleNode' bl_label = 'Set Time Scale' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxNodeSocketAction', 'In') self.add_input('LnxFloatSocket', 'Scale', default_value=1.0) self.add_output('LnxNodeSocketAction', 'Out')