14 lines
398 B
Python
14 lines
398 B
Python
from lnx.logicnode.lnx_nodes import *
|
|
|
|
class StopAgentNode(LnxLogicTreeNode):
|
|
"""Stops the given NavMesh agent."""
|
|
bl_idname = 'LNStopAgentNode'
|
|
bl_label = 'Stop Agent'
|
|
lnx_version = 1
|
|
|
|
def lnx_init(self, context):
|
|
self.add_input('LnxNodeSocketAction', 'In')
|
|
self.add_input('LnxNodeSocketObject', 'Object')
|
|
|
|
self.add_output('LnxNodeSocketAction', 'Out')
|