Files
LNXSDK/leenkx/blender/lnx/logicnode/navmesh/LN_stop_crowd.py

15 lines
424 B
Python
Raw Normal View History

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