17 lines
521 B
Python
17 lines
521 B
Python
from arm.logicnode.arm_nodes import *
|
|
|
|
|
|
@deprecated('Set Trait Paused')
|
|
class PauseTraitNode(ArmLogicTreeNode):
|
|
"""Pauses the given trait."""
|
|
bl_idname = 'LNPauseTraitNode'
|
|
bl_label = 'Pause Trait'
|
|
bl_description = "Please use the \"Set Trait Paused\" node instead"
|
|
arm_category = 'Trait'
|
|
arm_version = 2
|
|
|
|
def arm_init(self, context):
|
|
self.add_input('ArmNodeSocketAction', 'In')
|
|
self.add_input('ArmDynamicSocket', 'Trait')
|
|
self.add_output('ArmNodeSocketAction', 'Out')
|