PlayerHasStoryItem

From NWN Lexicon



Contents

[edit] PlayerHasStoryItem(object)

Checks if a PC has the story item.

int PlayerHasStoryItem(
    object oPC
);

[edit] Parameters

oPC

Player to check for item.


[edit] Description

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



[edit] 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.


[edit] Requirements

#include " nw_j_story "

[edit] Version

1.28

[edit] See Also

functions: 

TakeStoryItem



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

Personal tools
Categories