#include "x0_i0_henchman"

void main()
{
    object oPC = GetPCSpeaker();
    QuitHenchman(oPC);

    string sHenchTag = GetTag(OBJECT_SELF);
    object oHome = GetObjectByTag("WP_"+sHenchTag+"Camp");
    if (GetIsObjectValid(oHome) == TRUE)
     {
     AssignCommand(OBJECT_SELF, ClearAllActions(TRUE));
     AssignCommand(OBJECT_SELF, ActionMoveAwayFromObject(oPC, TRUE, 10.0f));
     DelayCommand(3.0, JumpToObject(oHome));
     //JumpToObject(oHome);
     //JumpToObject(oHome);
     //JumpToObject(oHome);
     }
}
