PlayerHasPersonalItem(object)

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

int PlayerHasPersonalItem(
    object oPC
);

Parameters

oPC

Player to check for item.


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.



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.


Requirements

#include "nw_j_assassin"

Version

1.28

See Also

functions: CreatePersonalItemOn | GetPersonalItem | SetPersonalItem
categories: Module Specific Functions


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