case "spawn_cannibals_2":
sld = LAi_CreateFantomCharacter(false, 1, true, true, 1.0, "RabBlack", "monsters", "monster1");
sld.name = TranslateString("", "Cannibal");
sld.lastname = "";
LAi_SetHP(sld, 80.0, 80.0);
GiveItem2Character(sld, "bladearrows");
GiveItem2Character(sld, "bladearrows");
GiveItem2Character(sld, "bladearrows");
EquipCharacterByItem(sld, "bladearrows");
GiveItem2Character(sld, "pistolbow");
EquipCharacterByItem(sld, "pistolbow");
sld.id = "Cannibal_j";
sld = LAi_CreateFantomCharacter(false, 1, true, true, 1.0, "RabBlack_1", "goto", "goto5");
sld.name = TranslateString("", "Cannibal");
GiveItem2Character(sld, "bladearrows");
GiveItem2Character(sld, "bladearrows");
GiveItem2Character(sld, "bladearrows");
EquipCharacterByItem(sld, "bladearrows");
GiveItem2Character(sld, "pistolbow");
EquipCharacterByItem(sld, "pistolbow");
sld.lastname = "";
LAi_SetHP(sld, 80.0, 80.0);
sld.id = "Cannibal_g";
sld = LAi_CreateFantomCharacter(false, 1, true, true, 1.0, "RabBlack", "goto", "goto4");
sld.name = TranslateString("", "Cannibal");
GiveItem2Character(sld, "bladearrows");
GiveItem2Character(sld, "bladearrows");
GiveItem2Character(sld, "bladearrows");
EquipCharacterByItem(sld, "bladearrows");
GiveItem2Character(sld, "pistolbow");
EquipCharacterByItem(sld, "pistolbow");
sld.lastname = "";
LAi_SetHP(sld, 80.0, 80.0);
sld.id = "Cannibal_A";
InterfaceStates.Buttons.Save.enable = 0;
LAi_QuestDelay("run_to_cave_locators", 0.5);
break;
case "run_to_cave_locators":
LAi_SetActorType(pchar);
LAi_SetActorType(characterFromID("Annamaria"));
LAi_SetActorType(characterFromID("Mr. Gibbs"));
LAi_ActorRunToLocator(characterFromID("Annamaria"), "goto", "goto9", "", 18);
LAi_ActorRunToLocator(characterFromID("Mr. Gibbs"), "goto", "goto7", "", 18);
LAi_QuestDelay("run_to_cave_locators_player", 1.8);
break;
case "run_to_cave_locators_player":
LAi_SetActorType(characterFromID("Cannibal_j"));
//Deal with run/walk mode, here must run
if(AlwaysRunToggle == false) {
LAi_ActorRunToLocator (pchar, "goto", "Goto10", "dialogue_gibbs_cave", 31);
}
else {
LAi_ActorGoToLocator(pchar, "goto", "Goto10", "dialogue_gibbs_cave", 31);
}
break;
//Jack it's an ambush!
case "dialogue_gibbs_cave":
LAi_SetPlayerType(pchar);
LAi_SetActorType(characterFromID("Mr. Gibbs"));
LAi_ActorDialog(characterFromID("Mr. Gibbs"),PChar,"",0.0,1.0);
Characters[GetCharacterIndex("Mr. Gibbs")].Dialog.Filename = "Mr. Gibbs_dialog.c";
Characters[GetCharacterIndex("Mr. Gibbs")].dialog.currentnode = "dialogue_gibbs_cave";
break;
case "attack_cannibals_2":
LAi_SetActorType(pchar);
LAi_SetActorType(characterFromID("Cannibal_j"));
LAi_SetActorType(characterFromID("Cannibal_A"));
LAi_SetActorType(characterFromID("Cannibal_g"));
LAi_ActorAttack(characterFromID("Cannibal_j"), pchar, "");
LAi_ActorAttack(characterFromID("Cannibal_A"), characterFromID("Annamaria"), "");
LAi_ActorAttack(characterFromID("Cannibal_g"), characterFromID("Mr. Gibbs"), "");
LAi_QuestDelay("attack_cannibals_poison", 3.2);
break;
case "attack_cannibals_poison":
LAi_SetStayType(CharacterFromID("Cannibal_j"));
LAi_SetStayType(CharacterFromID("Cannibal_A"));
LAi_SetStayType(CharacterFromID("Cannibal_g"));
LAi_ApplyCharacterDamage(Pchar, 15);
LAi_ApplyCharacterDamage(characterFromID("Annamaria"), 15);
LAi_ApplyCharacterDamage(characterFromID("Mr. Gibbs"), 15);
LAi_QuestDelay("dialogue_gibbs_cave_poisoned", 1.0)
break;