forked from LeenkxTeam/LNXSDK
Webview for RunT/Krom
This commit is contained in:
15
leenkx/blender/lnx/logicnode/krom/LN_get_arg.py
Normal file
15
leenkx/blender/lnx/logicnode/krom/LN_get_arg.py
Normal file
@ -0,0 +1,15 @@
|
||||
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')
|
||||
Reference in New Issue
Block a user