armory/blender/arm/logicnode/deprecated/LN_pause_action.py
2020-10-28 20:29:01 +01:00

18 lines
582 B
Python

from arm.logicnode.arm_nodes import *
@deprecated('Set Action Paused')
class PauseActionNode(ArmLogicTreeNode):
"""Pauses the given action."""
bl_idname = 'LNPauseActionNode'
bl_label = 'Pause Action'
bl_description = "Please use the \"Set Action Paused\" node instead"
arm_category = 'Animation'
arm_version = 2
def init(self, context):
super(PauseActionNode, self).init(context)
self.add_input('ArmNodeSocketAction', 'In')
self.add_input('ArmNodeSocketObject', 'Object')
self.add_output('ArmNodeSocketAction', 'Out')