![]()
bool UI_npc_nearby2(object obj) bool obj->npc_nearby2()
Finds out if the desired object is nearby. In this context, 'nearby' means within 40 tiles of the avatar. Note that, despite the name, this intrinsic is valid for all objects, not just NPCs.
obj | The object to be checked. |
true if the object is within 40 tiles of the avatar, false otherwise.