from lnx.logicnode.lnx_nodes import * class KromGetArgNode(LnxLogicTreeNode): """Returns the command-line argument at the given index""" bl_idname = 'LNKromGetArgNode' bl_label = 'Get Arg' lnx_category = 'Krom Runtime' lnx_section = 'system' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxIntSocket', 'Index') self.add_output('LnxStringSocket', 'Arg')