GetIsItemPossessedByParty

From NWN Lexicon
Jump to: navigation, search



GetIsItemPossessedByParty(object, string)

Check to see if any character in the party has the specified item.

int GetIsItemPossessedByParty(
    object oPC,
    string sItemTag
);

Parameters

oPC

The character whose party is to be checked.

sItemTag

The tag of the item to look for.


Description

Returns TRUE if a party member has the specified item, otherwise returns FALSE.

Checks each PC in oPC's party to see if they have an item with a tag of sItemTag.

Only checks PC's, not associates.



Remarks

This is just a wrapper for the GetItemPossessedByParty function.


Also note that x0_i0_partywide is already included in x0_i0_common. So you will only need to include one, not both.


Requirements

#include " x0_i0_partywide "

Version

1.61

See Also

functions: 

GetItemPossessedByParty



 author: Grimlar