15 lines
430 B
Python
15 lines
430 B
Python
|
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')
|