AddToParty(object, object)

From NWN Lexicon
Information icon.png This article is in need of examples. You can help the NWN Lexicon by showing how to use this code effectively.
Adds a PC to the party of another PC.
void AddToParty(
    object oPC,
    object oPartyLeader
);

Contents

[edit] Parameters

oPC
Player to add to a party
oPartyLeader
Player already in the party

[edit] Description

Add oPC to oPartyLeader's party. Both the oPC and oPartyLeader must be valid PCs for this function to work properly.

[edit] Remarks

To have an NPC serve a PC use AddHenchman().

[edit] Version

1.22

[edit] See Also

functions:  RemoveFromParty


author: Tom Cassiotis, editor: Charles Feduke

Personal tools
Categories