GetIsItemPossessedByParty

From NWN Lexicon



Contents

[edit] GetIsItemPossessedByParty(object, string)

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

int GetIsItemPossessedByParty(
    object oPC,
    string sItemTag
);

[edit] Parameters

oPC

The character whose party is to be checked.

sItemTag

The tag of the item to look for.


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



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


[edit] Requirements

#include " x0_i0_partywide "

[edit] Version

1.61

[edit] See Also

functions: 

GetItemPossessedByParty



 author: Grimlar
 

Personal tools
Categories