AddToParty(object, object)

Adds a PC to the party of another PC.

void AddToParty(
    object oPC,
    object oPartyLeader
);

Parameters

oPC

Player to add to a party

oPartyLeader

Player already in the party


Description

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



Remarks

To have an NPC serve a PC use AddHenchman function.


Version

1.22

See Also

functions: AddHenchman | RemoveFromParty
categories: Party Functions


 author: Tom Cassiotis, editor: Charles Feduke