armory/blender/arm/logicnode/animation_pause_action.py

18 lines
519 B
Python
Raw Normal View History

2017-04-08 00:34:45 +02:00
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):
2017-04-08 20:05:35 +02:00
self.inputs.new('ArmNodeSocketAction', 'In')
2017-04-08 00:34:45 +02:00
self.inputs.new('ArmNodeSocketObject', 'Object')
2017-04-08 20:05:35 +02:00
self.outputs.new('ArmNodeSocketAction', 'Out')
2017-04-08 00:34:45 +02:00
add_node(PauseActionNode, category='Animation')