PlayerHasStoryItem(object)

Checks if a PC has the story item.

int PlayerHasStoryItem(
    object oPC
);

Parameters

oPC

Player to check for item.


Description

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



Remarks

Found in nw_j_story.nss line 130

Of little use for general scripting purposes, as this is part of Bioware’s quest and reward system.


Requirements

#include "nw_j_story"

Version

1.28

See Also

functions: TakeComplexItem | TakeStoryItem
categories: Module Specific Functions


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