Hi, I'm currently using ORK Framework 3.21 (latest version).
I'm trying to achieve a setup where a combatant, upon death, changes into a coffin model using a Conditional Prefab.
The visual change works perfectly — the combatant appears as a coffin after dying.
However, I want the coffin to continue following the leader (using Move AI → Follow Leader), but after death, the combatant stops moving entirely.
It seems that the Move AI functionality is automatically disabled once the combatant dies.
Here’s what I’ve tried so far:
- I’ve confirmed that the combatant has Move AI enabled and is set to Follow Leader.
- I’m using a Conditional Prefab with “Replace Prefab” disabled, so the combatant object remains intact and only the visual changes.
- I’ve checked the DeathPlayer schematic and tried adding various nodes, but I couldn’t find any Disable Component node related to Move AI or NavMeshAgent.
- I also tried enabling components manually in the schematic, but it didn’t resolve the issue.
What I’m trying to achieve is:
Even after the combatant dies and turns into a coffin, I want it to continue following the leader using the same Move AI behavior.
Is there a recommended way to keep Move AI active after death?
Any help or guidance would be greatly appreciated!
Thanks in advance