UI_in_usecode_path
bool UI_in_usecode_path(actor npc)
bool npc->in_usecode_path()
Checks whether or not the actor is traversing a path due to path_run_usecode or si_path_run_usecode intrinsics.
Parameters
| Parameter / value | Description |
|---|---|
npc |
The NPC to be checked. |
Return
true if the NPC is still walking a usecode path, false otherwise.