LAi_group_SetAlarm(LAI_DEFAULT_GROUP, LAI_GROUP_PLAYER, 0.0);
LAi_group_SetRelation(LAI_DEFAULT_GROUP, LAI_GROUP_PLAYER, LAI_GROUP_NEUTRAL);
LAi_group_SetAlarm(LAI_DEFAULT_GROUP, LAI_GROUP_MONSTERS, 0.0);
LAi_group_SetRelation(LAI_DEFAULT_GROUP, LAI_GROUP_MONSTERS, LAI_GROUP_NEUTRAL);
string IslandID;
int jopa;
jopa = GetCharacterCurrentIsland(Pchar);
IslandID = Islands[jopa].id;
switch(IslandID)
{
case "FalaiseDeFleur":
LAi_group_SetAlarm("FRANCE_SOLDIERS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetAlarm("FRANCE_CITIZENS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetRelation("FRANCE_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_FRIEND);
LAi_group_SetRelation("FRANCE_CITIZENS", LAI_GROUP_PLAYER, LAI_GROUP_NEUTRAL);
LAi_group_SetAlarmReaction("FRANCE_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_ENEMY, LAI_GROUP_FRIEND);
break;
case "Redmond":
LAi_group_SetAlarm("ENGLAND_SOLDIERS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetAlarm("ENGLAND_CITIZENS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetRelation("ENGLAND_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_FRIEND);
LAi_group_SetRelation("ENGLAND_CITIZENS", LAI_GROUP_PLAYER, LAI_GROUP_NEUTRAL);
LAi_group_SetAlarmReaction("ENGLAND_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_ENEMY, LAI_GROUP_FRIEND);
break;
case "Conceicao":
LAi_group_SetAlarm("CONCEICAO_SOLDIERS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetAlarm("CONCEICAO_CITIZENS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetRelation("CONCEICAO_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_FRIEND);
LAi_group_SetRelation("CONCEICAO_CITIZENS", LAI_GROUP_PLAYER, LAI_GROUP_NEUTRAL);
LAi_group_SetAlarmReaction("CONCEICAO_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_ENEMY, LAI_GROUP_FRIEND);
LAi_group_SetAlarm("SMUGGLERS_SOLDIERS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetAlarm("SMUGGLERS_CITIZENS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetRelation("SMUGGLERS_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_FRIEND);
LAi_group_SetRelation("SMUGGLERS_CITIZENS", LAI_GROUP_PLAYER, LAI_GROUP_NEUTRAL);
LAi_group_SetAlarmReaction("SMUGGLERS_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_ENEMY, LAI_GROUP_FRIEND);
break;
case "Oxbay":
LAi_group_SetAlarm("ENGLAND_SOLDIERS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetAlarm("ENGLAND_CITIZENS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetRelation("ENGLAND_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_FRIEND);
LAi_group_SetRelation("ENGLAND_CITIZENS", LAI_GROUP_PLAYER, LAI_GROUP_NEUTRAL);
LAi_group_SetAlarmReaction("ENGLAND_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_ENEMY, LAI_GROUP_FRIEND);
break;
case "IslaMuelle":
LAi_group_SetAlarm("SPAIN_SOLDIERS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetAlarm("SPAIN_CITIZENS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetRelation("SPAIN_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_FRIEND);
LAi_group_SetRelation("SPAIN_CITIZENS", LAI_GROUP_PLAYER, LAI_GROUP_NEUTRAL);
LAi_group_SetAlarmReaction("SPAIN_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_ENEMY, LAI_GROUP_FRIEND);
break;
case "Douwesen":
LAi_group_SetAlarm("DOUWESEN_SOLDIERS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetAlarm("DOUWESEN_CITIZENS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetRelation("DOUWESEN_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_FRIEND);
LAi_group_SetRelation("DOUWESEN_CITIZENS", LAI_GROUP_PLAYER, LAI_GROUP_NEUTRAL);
LAi_group_SetAlarmReaction("DOUWESEN_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_ENEMY, LAI_GROUP_FRIEND);
LAi_group_SetAlarm("DOUWESEN_PIRATE_SOLDIERS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetAlarm("DOUWESEN_PIRATE_CITIZENS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetRelation("DOUWESEN_PIRATE_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_FRIEND);
LAi_group_SetRelation("DOUWESEN_PIRATE_CITIZENS", LAI_GROUP_PLAYER, LAI_GROUP_NEUTRAL);
LAi_group_SetAlarmReaction("DOUWESEN_PIRATE_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_ENEMY, LAI_GROUP_FRIEND);
break;
case "QuebradasCostillas":
LAi_group_SetAlarm("QC_SOLDIERS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetAlarm("QC_CITIZENS", LAI_GROUP_PLAYER, 0.0);
LAi_group_SetRelation("QC_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_FRIEND);
LAi_group_SetRelation("QC_CITIZENS", LAI_GROUP_PLAYER, LAI_GROUP_NEUTRAL);
LAi_group_SetAlarmReaction("QC_SOLDIERS", LAI_GROUP_PLAYER, LAI_GROUP_ENEMY, LAI_GROUP_FRIEND);
break;
case "KhaelRoa":
break;
}