15 lines
		
	
	
		
			390 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			390 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from lnx.logicnode.lnx_nodes import *
 | 
						|
 | 
						|
 | 
						|
class GetMapValueNode(LnxLogicTreeNode):
 | 
						|
    """Get Map Value"""
 | 
						|
    bl_idname = 'LNGetMapValueNode'
 | 
						|
    bl_label = 'Get Map Value'
 | 
						|
    lnx_version = 1
 | 
						|
 | 
						|
    def init(self, context):
 | 
						|
        self.add_input('LnxDynamicSocket', 'Map')
 | 
						|
        self.add_input('LnxDynamicSocket', 'Key')
 | 
						|
 | 
						|
        self.add_output('LnxDynamicSocket', 'Value')
 |