15 lines
430 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class SleepNode(LnxLogicTreeNode):
"""Waits a specified amount of seconds until passing
through the incoming signal."""
bl_idname = 'LNSleepNode'
bl_label = 'Sleep'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxFloatSocket', 'Time')
self.add_output('LnxNodeSocketAction', 'Out')