armory/blender/arm/logicnode/animation_pause_action.py
2017-04-08 20:05:35 +02:00

18 lines
519 B
Python

import bpy
from bpy.props import *
from bpy.types import Node, NodeSocket
from arm.logicnode.arm_nodes import *
class PauseActionNode(Node, ArmLogicTreeNode):
'''Pause action node'''
bl_idname = 'LNPauseActionNode'
bl_label = 'Pause Action'
bl_icon = 'GAME'
def init(self, context):
self.inputs.new('ArmNodeSocketAction', 'In')
self.inputs.new('ArmNodeSocketObject', 'Object')
self.outputs.new('ArmNodeSocketAction', 'Out')
add_node(PauseActionNode, category='Animation')