Files
LNXSDK/leenkx/blender/lnx/logicnode/krom/LN_get_arg.py
2026-07-13 15:44:52 -07:00

16 lines
417 B
Python

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')