16 lines
422 B
Python
16 lines
422 B
Python
from arm.logicnode.arm_nodes import *
|
|
|
|
|
|
class AlternateNode(ArmLogicTreeNode):
|
|
"""Alternate node"""
|
|
bl_idname = 'LNAlternateNode'
|
|
bl_label = 'Alternate'
|
|
|
|
def init(self, context):
|
|
self.add_input('ArmNodeSocketAction', 'In')
|
|
self.add_output('ArmNodeSocketAction', '0')
|
|
self.add_output('ArmNodeSocketAction', '1')
|
|
|
|
|
|
add_node(AlternateNode, category=MODULE_AS_CATEGORY, section='flow')
|