17 lines
		
	
	
		
			548 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			17 lines
		
	
	
		
			548 B
		
	
	
	
		
			Python
		
	
	
	
	
	
|  | from lnx.logicnode.lnx_nodes import * | ||
|  | 
 | ||
|  | class PlayTilesheetNode(LnxLogicTreeNode): | ||
|  |     """Plays the given tilesheet action.""" | ||
|  |     bl_idname = 'LNPlayTilesheetNode' | ||
|  |     bl_label = 'Play Tilesheet' | ||
|  |     lnx_version = 1 | ||
|  |     lnx_section = 'tilesheet' | ||
|  | 
 | ||
|  |     def lnx_init(self, context): | ||
|  |         self.add_input('LnxNodeSocketAction', 'In') | ||
|  |         self.add_input('LnxNodeSocketObject', 'Object') | ||
|  |         self.add_input('LnxStringSocket', 'Name') | ||
|  | 
 | ||
|  |         self.add_output('LnxNodeSocketAction', 'Out') | ||
|  |         self.add_output('LnxNodeSocketAction', 'Done') |