PlayerHasFetchItem(object)

Checks if a PC has the fetch item.

int PlayerHasFetchItem(
    object oPC
);

Parameters

oPC

Player to check for item


Description

Returns TRUE if oPC possesses the fetch item, which is retrieved with the function GetFetchItem(); Returns FALSE in all other cases, including errors.



Remarks

Found in nw_j_fetch.nss on line 162

In the words of John Shuell: It seems this set of functions are centered around storing plot item related information on NPCs for simple fetch related quests. All of these functions are relatively straight forward and easy to understand at a glance.

There is also another script of the exact same functions but works with "ArtifactItems" instead of Fetch. The scripts are identical but seperated to make coding between them easier to understand and add functionality to later.


Requirements

#include "nw_j_fetch"

Version

1.28

See Also

functions: GetFetchee | GetFetchItem
categories: Module Specific Functions


 author: Lilac Soul, additional contributor(s): Lilac Soul