forked from LeenkxTeam/LNXSDK
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			473 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			473 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from lnx.logicnode.lnx_nodes import *
 | 
						|
 | 
						|
class PrintNode(LnxLogicTreeNode):
 | 
						|
    """Open a window alert with the give string value (works only for web browsers).
 | 
						|
 | 
						|
    @input String: message to display.
 | 
						|
    """
 | 
						|
    bl_idname = 'LNAlertNode'
 | 
						|
    bl_label = 'Alert'
 | 
						|
    lnx_version = 1
 | 
						|
 | 
						|
    def lnx_init(self, context):
 | 
						|
        self.add_input('LnxNodeSocketAction', 'In')
 | 
						|
        self.add_input('LnxStringSocket', 'String')
 | 
						|
 | 
						|
        self.add_output('LnxNodeSocketAction', 'Out')
 |