Stop NPC Movement [Solved]

Users who are viewing this thread

Hello! Does anyone know how to disable NPC movement? Meaning to keep unit in fixed position but not affect his other actions (e.g. attacking, defending)

I tried with Agent.Formation.SetMovementOrder(MovementOrder.MovementOrderStop) but despite successfully setting and keeping the MovementOrder like this, when engaged in combat the NPC will move along with the enemy. MovementOrderMove and MovementOrderFollow have same behavior

Thank you!


I figured it out: Agent.SetScriptedPosition in case anyone needs it :smile:
 
Last edited:
Back
Top Bottom