Показать сообщение отдельно
Старый 02.09.2010, 18:00   #2335
B_Wolf

AGFC
Гость
 
Сообщений: n/a

По умолчанию Re: М: Скриптинг в Готике

2orebaron25:
Выдает ошибку - Redefined identifier - DIA_FINGERS_HELLO
Функция с одним и тем же именем два раза написана, внимательнее смотри на диалоги.

Cпойлер(щелкните, чтобы прочесть):
instance DIA_Fingers_Hello(C_Info)
{
* * npc = VLK_4201_Fingers;
* * nr = 2;
* * condition = DIA_Fingers_Hello_Condition;
* * information = DIA_Fingers_Hello_Info;
* * permanent = FALSE;
* * description = "Эй , ты!";
};


func int DIA_Fingers_Hello_Condition()
{
* * return TRUE;
};

func void DIA_Fingers_Hello()
{
* * AI_Output(self,other,"DIA_Fingers_Hello_15_50"); * * *//Допустим здесь текст.
* * AI_Output(self,other,"DIA_Fingers_Hello_03_00"); * * *//
* * AI_Output(self,other,"DIA_Fingers_Hello_03_01"); * * *// *
* * AI_Output(other,self,"DIA_Fingers_Hello_15_00"); * * *//
* * AI_Output(self,other,"DIA_Fingers_Hello_03_02"); * * *//
* * AI_Output(self,other,"DIA_Fingers_Hello_03_03"); * * *//
* * AI_Output(self,other,"DIA_Fingers_Hello_03_04"); * * *//
* * Info_ClearChoices(DIA_Fingers_Hello);
};


Должно быть DIA_Fingers_Hello_Info
Ответить с цитированием