15 lines
406 B
Python
15 lines
406 B
Python
from arm.logicnode.arm_nodes import *
|
|
|
|
|
|
class RandomBooleanNode(ArmLogicTreeNode):
|
|
"""Use to generate a random boolean."""
|
|
bl_idname = 'LNRandomBooleanNode'
|
|
bl_label = 'Random Boolean'
|
|
arm_version = 1
|
|
|
|
def init(self, context):
|
|
super(RandomBooleanNode, self).init(context)
|
|
self.add_output('NodeSocketBool', 'Bool')
|
|
|
|
|
|
add_node(RandomBooleanNode, category=PKG_AS_CATEGORY)
|