11 lines
321 B
Python
11 lines
321 B
Python
from lnx.logicnode.lnx_nodes import *
|
|
|
|
class OnInitNode(LnxLogicTreeNode):
|
|
"""Activates the output on the first frame of execution of the logic tree."""
|
|
bl_idname = 'LNOnInitNode'
|
|
bl_label = 'On Init'
|
|
lnx_version = 1
|
|
|
|
def lnx_init(self, context):
|
|
self.add_output('LnxNodeSocketAction', 'Out')
|