PlayerHasComplexItem(object)

Checks if a PC has the complex item.

int PlayerHasComplexItem(
    object oPC
);

Parameters

oPC

Player to check for item


Description

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



Remarks

Found in nw_j_complex.nss on line 130

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 Complex. The scripts are identical but seperated to make coding between them easier to understand and add functionality to later.


Requirements

#include "nw_j_complex"

Version

1.28

See Also

functions: GetComplexItem | SetComplexItem | TakeArtifactItem | TakeComplexItem
categories: Module Specific Functions


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