16 lines
489 B
Python
16 lines
489 B
Python
from arm.logicnode.arm_nodes import *
|
|
|
|
class PauseActionNode(ArmLogicTreeNode):
|
|
"""Pause an action."""
|
|
bl_idname = 'LNPauseActionNode'
|
|
bl_label = 'Pause Action'
|
|
arm_version = 1
|
|
|
|
def init(self, context):
|
|
super(PauseActionNode, self).init(context)
|
|
self.add_input('ArmNodeSocketAction', 'In')
|
|
self.add_input('ArmNodeSocketObject', 'Object')
|
|
self.add_output('ArmNodeSocketAction', 'Out')
|
|
|
|
add_node(PauseActionNode, category=PKG_AS_CATEGORY)
|