NPCType Design
The NPCTypes is part of the NpcClient Design.
Classes
The classes involved in the NPCType.

Sequences
Advance
Basic operations for a Behavior is to StartScript and than a number of Advance operations. |
![]() |
Basic operation for a ScriptOperation is to Run, a number of Advance and than CompleteOperation. |
![]() |
Interrupted ScriptOperation are a bit more complex. They start with a Run, Advance. At any point the operation might be Interrupted and InteruptOperation is called to stop the current operation. Than when it is resumed Run will be called with the Interrupted flag set to true, before normal Advance and than CompleteOperation. |
![]() |
![]() |
The Advance subrutine: |
![]() |