|
Re: Скриптинг в Готике
Вот так или нет? instance DIA_Lobart_q (C_Info) { npc = BAU_950_Lobart; nr = 1; condition = dia_Lobart_q_condition; information = dia_Lobart_q_info; permanent = FALSE; important = FALSE; description = "текст"; }; func int dia_Lobart_q_condition() { if(Npc_KnowsInfo(other, DIA_Kiranor_q2 )) { return TRUE; }; }; func void dia_Lobart_q_info() { AI_Output(other,self,"DIA_Lobart_q_15_00"); //AI_Output(other,self,"DIA_Lobart_q_15_00"); //текст AI_Output(self,other,"dia_Lobart_q_03_01"); //текст }; func void dia_Lobart_q_a() { AI_Output(other,self,"dia_Lobart_q_a_15_00"); //текст. AI_Output(self,other,"dia_Lobart_q_a_03_01"); //текст Info_AddChoice(DIA_Lobart_q ,"текст",dia_Lobart_q_a); AI_StopProcessInfos (self); };
|