15 lines
424 B
Python
15 lines
424 B
Python
from lnx.logicnode.lnx_nodes import *
|
|
|
|
class StopCrowdNode(LnxLogicTreeNode):
|
|
"""Stops the given NavMesh agent."""
|
|
bl_idname = 'LNStopCrowdNode'
|
|
bl_label = 'Stop Crowd'
|
|
lnx_section = 'crowd'
|
|
lnx_version = 1
|
|
|
|
def lnx_init(self, context):
|
|
self.add_input('LnxNodeSocketAction', 'In')
|
|
self.add_input('LnxNodeSocketObject', 'Object')
|
|
|
|
self.add_output('LnxNodeSocketAction', 'Out')
|