16 lines
626 B
Python
16 lines
626 B
Python
from arm.logicnode.arm_nodes import *
|
|
|
|
class PauseTilesheetNode(ArmLogicTreeNode):
|
|
"""Pauses the given tilesheet action."""
|
|
bl_idname = 'LNPauseTilesheetNode'
|
|
bl_description = "Please use the \"Set Tilesheet Paused\" node instead"
|
|
bl_icon = 'ERROR'
|
|
arm_version = 2
|
|
|
|
def init(self, context):
|
|
super(PauseTilesheetNode, self).init(context)
|
|
self.add_input('ArmNodeSocketAction', 'In')
|
|
self.add_input('ArmNodeSocketObject', 'Object')
|
|
self.add_output('ArmNodeSocketAction', 'Out')
|
|
|
|
add_node(PauseTilesheetNode, category=PKG_AS_CATEGORY, section='tilesheet', is_obsolete=True)
|