X0 i0 partywide

From NWN Lexicon
Jump to: navigation, search



x0_i0_partywide

Include library for party-wide functions.

NOTE: This file includes x0_i0_campaign .

Functions

Name Brief Description

AdjustAlignmentOnAll

Adjusts the alignment of the party.

AdjustReputationWithFaction

Adjusts reputation of each member in PC's party with NPC's faction

ClearAssociateActions

Clear the actions of one of each type of the PC's associates

ClearNearbyFriendActions

Clears the actions of a creature and all nearby friends

ClearPersonalReputationWithFaction

Clears reputation of each member of PC's party with NPC's faction

DeleteCampaignDBVariableOnAll

Deletes a campaign DB variable from all PCs in a PC's party.

GetIsItemPossessedByParty

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

GetItemPossessedByParty

Check to see if the specified item belongs to anyone in the party.

GetNumberPartyMembers

Returns the number of players in the PC's party +1

GiveGoldToAll

Gives an amount of gold to each PC in a PC's party

GiveGoldToAllEqually

Divides a given amount of gold equally among PCs in a PC's party

GiveXPToAll

Gives experience points to each PC in a PC's party

GiveXPToAllEqually

Divides experience points equally among PCs in a PC's party

RemoveItemFromParty

Removes the specified item from whichever member of the party has it.

SetCampaignDBFloatOnAll

Sets a campaign DB float variable on all PCs in a PC's party

SetCampaignDBIntOnAll

Sets a campaign DB integer on all PCs in PC's party

SetCampaignDBLocationOnAll

Sets a campaign DB location variable on all PCs of a PC's party

SetCampaignDBStringOnAll

Sets a campaign string variable on all PCs in a PC's party

SetCampaignDBVectorOnAll

Sets a campaign DB vector variable on all PCs in a PC's party

SetLocalFloatOnAll

Sets a local float variable on all members of PC's party

SetLocalIntOnAll

Sets a local integer on all members of PC's party

SetLocalLocationOnAll

Sets a local location variable on all members of PC's party

SetLocalObjectOnAll

Sets a local object variable on all members of the PC's party

SetLocalStringOnAll

Sets a local string on all members and associates of PC's party

StoreCampaignDBObjectOnAll

Stores a campaign DB object on all PCs of a PC's party

SurrenderAllToEnemies

Causes all NPC's in the same faction as the given character to surrender.



 author: Charles Feduke, editor: Mistress