UCC Reference

UI_is_dest_reachable

[Exult]

bool UI_is_dest_reachable(actor npc, int pos[])
bool npc->is_dest_reachable(int pos[])

Checks if a NPC can walk from its present location to a specified position.

Parameters

Parameter / value Description
npc The NPC we wish to check.
pos Where we want check if the NPC can go.

Return

true if the NPC can walk to the supplied destination, false otherwise.

Related intrinsics

Full intrinsic reference | Reference definitions