from lnx.logicnode.lnx_nodes import * class SetActionTimeNode(LnxLogicTreeNode): """Sets the current action time for the given object.""" bl_idname = 'LNSetActionTimeNode' bl_label = 'Set Action Time' bl_width_default = 200 lnx_version = 1 def lnx_init(self, context): self.add_input('LnxNodeSocketAction', 'In') self.add_input('LnxNodeSocketObject', 'Object') self.add_input('LnxStringSocket', 'Action ID') self.add_input('LnxFloatSocket', 'Time') self.add_output('LnxNodeSocketAction', 'Out')