Poprawiłem to ale błąd nadal się pojawia.
Skrypt teraz
//========================================
//-----------------> First
//========================================
INSTANCE DIA_Sld_9997_Rick(C_INFO)
{
npc = SLD_9997_Rick;
nr = 1;
condition = DIA_SLD_9997_Rick_First_Condition;
information = DIA_SLD_9997_Rick_First_Info;
permanent = 0;
important = 1;
};
FUNC INT DIA_SLD_9997_Rick_First_Condition()
{
if (Npc_KnowsInfo(hero,DIA_SLD_9997_First))
{
return 1;
};
};
FUNC VOID DIA_SLD_9997_Rick_First_Info()
{
AI_Output (self, other,"DIA_SLD_9997_Rick_First_06_00"); //A ty dokąd się wybierasz?
AI_Output (other, self,"DIA_SLD_9997_Rick_First_15_01"); //Do Obozu.
AI_Output (self, other,"DIA_SLD_9997_Rick_First_06_02"); //Chyba nie przyszedłeś tu, żeby sprawiać kłopoty, co?
AI_Output (other, self,"DIA_SLD_9997_Rick_First_15_00"); //Vatras powiedzial ze moge wejsc.
AI_Output (self, other,"DIA_SLD_9997_Rick_First_06_01"); //W takim razie mozesz wejsc.
};
//========================================
//-----------------> WEJSCIE
//========================================
INSTANCE DIA_Rick_WEJSCIE (C_INFO)
{
npc = SLD_9997_Rick;
nr = 2;
condition = DIA_Rick_WEJSCIE_Condition;
information = DIA_Rick_WEJSCIE_Info;
permanent = FALSE;
description = "Moge wejsc";
};
FUNC INT DIA_Rick_WEJSCIE_Condition()
{
if (Npc_KnowsInfo (other, DIA_Rick_HELLO))
{
return TRUE;
};
};
func VOID DIA_Rick_WEJSCIE_Info()
{
AI_Output (other, self ,"Rick_WEJSCIE_15_01"); //Moge wejsc do srodka?
AI_Output (self, other ,"Rick_WEJSCIE_03_02"); //Jasne wlaz ale nie sprawiaj zadnych klopotow.
AI_Output (other, self ,"Rick_WEJSCIE_15_03"); //Nie mam zamiaru.
AI_StopProcessInfos (self);
};
A błąd nadal wyskakuje TREŚĆ BŁĘDU:(Tutaj jest pokazana ścieżka przez katalog aż do mojego NPC.) Unknow identyfidet DIA_SLD_9997_Rick