PlayerHasPersonalItem

From NWN Lexicon



Contents

[edit] PlayerHasPersonalItem(object)

Checks if a PC has the personal item of the assassination victim.

int PlayerHasPersonalItem(
    object oPC
);

[edit] Parameters

oPC

Player to check for item.


[edit] Description

Returns TRUE if oPC possesses the victim’s personal item, which is retrieved with the function GetPersonalItem(); Returns FALSE in all other cases, including errors.



[edit] Remarks

Found in nw_j_assassin.nss line 206

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


[edit] Requirements

#include " nw_j_assassin "

[edit] Version

1.28

[edit] See Also

functions: 

SetPersonalItem



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

Personal tools
Categories