Party Function Category

Functions that deal with parties.



Functions

NameBrief Description
AddToPartyAdds a PC to the party of another PC.
AdjustAlignmentOnAllAdjusts the alignment of the party.
AdjustReputationWithFactionAdjusts reputation of each member in PC's party with NPC's faction
aGetPLocalIntScans through the PC's party and returns the largest value stored on a character.
aSetPLocalIntSets a local integer on each of the party members.
CheckPartyForItemCheck party for possession of an item.
ClearNearbyFriendActionsClears the actions of a creature and all nearby friends
ClearPersonalReputationWithFactionClears reputation of each member of PC's party with NPC's faction
DeleteCampaignDBVariableOnAllDeletes a campaign DB variable from all PCs in a PC's party.
GetFactionAverageXPGet the average amount of XPs for all members in an objects faction.
GetFactionBestACGet the member of a faction (party) who has the highest Armor Class.
GetFactionGoldGet the amount of gold held by all members of a certain faction.
GetFactionLeaderGets the leader of a players party.
GetFactionLeastDamagedMemberGet the member of oFactionMember's faction that has taken the fewest hit points of damage.
GetFactionMostDamagedMemberGet the member of oFactionMember's faction that has taken the most hit points of damage.
GetFactionMostFrequentClassReturns a constant representing the most common type of class amongst the members of a faction (party).
GetFactionStrongestMemberGet the member of an object's faction who is the strongest.
GetFactionWeakestMemberGet the weakest member in a faction (party).
GetFactionWorstACGet the object faction member with the lowest armor class.
GetIsItemPossessedByPartyCheck to see if any character in the party has the specified item.
GetItemPossessedByPartyCheck to see if the specified item belongs to anyone in the party.
GetLevelByClassGet the level of an object in a given class.
GetLevelByPositionGet the class level of an object from the class table.
GetListenPatternNumberCheck if a conversation pattern has been activated in an OnConversation event.
GetNumberPartyMembersReturns the number of players in the PC's party +1
GetPLocalIntDetermines the value of a locally stored variable from any PC in a party.
GiveGoldToAllGives an amount of gold to each PC in a PC's party
GiveGoldToAllEquallyDivides a given amount of gold equally among PCs in a PC's party
GiveXPToAllGives experience points to each PC in a PC's party
GiveXPToAllEquallyDivides experience points equally among PCs in a PC's party
RemoveFromPartyRemoves a PC from their party.
RemoveItemFromPartyRemoves the specified item from whichever member of the party has it.
RewardPartyXPGives experience to a PC and (optionally) all party members.
SetCampaignDBFloatOnAllSets a campaign DB float variable on all PCs in a PC's party
SetCampaignDBIntOnAllSets a campaign DB integer on all PCs in PC's party
SetCampaignDBLocationOnAllSets a campaign DB location variable on all PCs of a PC's party
SetCampaignDBStringOnAllSets a campaign string variable on all PCs in a PC's party
SetCampaignDBVectorOnAllSets a campaign DB vector variable on all PCs in a PC's party
SetLocalFloatOnAllSets a local float variable on all members of PC's party
SetLocalIntOnAllSets a local integer on all members of PC's party
SetLocalLocationOnAllSets a local location variable on all members of PC's party
SetLocalObjectOnAllSets a local object variable on all members of the PC's party
SetLocalStringOnAllSets a local string on all members and associates of PC's party
SetPLocalIntSets a variable that remains attached to a PC party.
StoreCampaignDBObjectOnAllStores a campaign DB object on all PCs of a PC's party

See Also

Function Categories