14 lines
424 B
Plaintext
14 lines
424 B
Plaintext
//This script will remove a henchperson from your party.
|
|
//It will send them to a friend.
|
|
|
|
void main()
|
|
{
|
|
//Remove henchperson from the party.
|
|
//Send henchperson to NPC friend.
|
|
object oPC = GetPCSpeaker ();
|
|
object oHench = OBJECT_SELF;
|
|
object oNPCFriend1 = GetObjectByTag ("NPCfriend1");
|
|
RemoveHenchman(oPC, oHench);
|
|
AssignCommand (oHench, ActionJumpToLocation (GetLocation (oNPCFriend1)));
|
|
}
|