1
Sorry że tak długo po odpowiedzi na temat ale zrobiłem wszystko tak jak napisałeś i w wodzie da sie pływać ale wygląda ona tak:

Troche lipnie.Wiecie może co z tym zrobić?

Troche lipnie.Wiecie może co z tym zrobić?
Ta sekcja pozwala Ci zobaczyć wszystkie wiadomości wysłane przez tego użytkownika. Zwróć uwagę, że możesz widzieć tylko wiadomości wysłane w działach do których masz aktualnie dostęp.
Kod: [Zaznacz]if (self.aivar[AIV_LastFightAgainstPlayer] == FIGHT_LOST)
Kod: [Zaznacz]if (self.aivar[AIV_LastFightAgainstPlayer] == FIGHT_WON)
Kod: [Zaznacz]U:PAR:Unknown identifier Sathir_Itemsgiven_Chapter_1(line 23)
Kod: [Zaznacz]FUNC VOID B_GiveTradeInv_Sathir(var C_NPC slf)
{
if ((Kapitel >= 1)
&& (Sathir_ItemsGiven_Chapter_1 == FALSE))
{
CreateInvItems (slf, itMw_rozbitek_nightsword, 1);
CreateInvItems (slf,ItMw_rozbitek_axe ,1);
CreateInvItems (slf,ItMw_rozbitek_ironsword ,1);
CreateInvItems (slf,ItMw_ShortSword5, 1);
CreateInvItems (slf,ItMw_ShortSword4 ,1);
CreateInvItems (slf,ItMw_ShortSword3 ,1);
CreateInvItems (slf, ItMi_Gold, 1000);
CreateInvItems (slf,ItPo_Mana_01 ,10);
CreateInvItems (slf,ItPo_Health_01 ,10);
CreateInvItems (slf,ItFo_Addon_Rum, 25);
CreateInvItems (slf,ItFo_Addon_Grog ,25);
CreateInvItems (slf,ItFo_Addon_LousHammer ,10);
CreateInvItems (slf, ItFo_Apple , 5);
CreateInvItems (slf,ItFo_Bacon ,15);
CreateInvItems (slf,ItFo_Bread ,10);
Sathir_ItemsGiven_Chapter_1 = TRUE;
};
};
FUNC INT DIA_PAL_888_Madris_mamwode_Condition()
{
if (npc_knowsinfo (other, DIA_PAL_888_Madris_zadanie))
&& (npc_hasitems (other, itfo_water) >= 1);
{
return TRUE;
};
};
&& (npc_hasitems (other, itfo_water) >= 1);
//*********************************************************************
// Info EXIT
//*********************************************************************
INSTANCE DIA_PAL_888_Madris_EXIT (C_INFO)
{
npc = PAL_888_Madris;
nr = 999;
condition = DIA_PAL_888_Madris_EXIT_Condition;
information = DIA_PAL_888_Madris_EXIT_Info;
permanent = TRUE;
description = DIALOG_ENDE;
};
FUNC INT DIA_PAL_888_Madris_EXIT_Condition()
{
return TRUE;
};
FUNC VOID DIA_PAL_888_Madris_EXIT_Info()
{
AI_StopProcessInfos (self);
};
//*********************************************************************
// Info Hello
//*********************************************************************
INSTANCE DIA_PAL_888_Madris_witaj (C_INFO)
{
npc = PAL_888_Madris;
nr = 1;
condition = DIA_PAL_888_Madris_witaj_Condition;
information = DIA_PAL_888_Madris_witaj_Info;
permanent = FALSE;
description = "Witaj , kim jesteś?";
};
FUNC INT DIA_PAL_888_Madris_witaj_Condition()
{
return TRUE;
};
FUNC VOID DIA_PAL_888_Madris_witaj_Info()
{
AI_Output (other ,self ,"DIA_PAL_888_Madris_witaj_15_00"); //Witaj , kim jesteś ?
AI_Output (self ,other,"DIA_PAL_888_Madris_witaj_01_01"); //Jestem paladynem , nazywam się Madris.Stoje tu i patroluje czy orkowie nie nadciągają.
AI_Output (self ,other,"DIA_PAL_888_Madris_witaj_01_02"); //Strasznie chce mi się pić a nie moge się stąd ruszyć.
};
//*********************************************************************
// ZADANIE
//*********************************************************************
INSTANCE DIA_PAL_888_Madris_zadanie (C_INFO)
{
npc = PAL_888_Madris;
nr = 1;
condition = DIA_PAL_888_Madris_zadanie_Condition;
information = DIA_PAL_888_Madris_zadanie_Info;
permanent = FALSE;
description = "Może moge ci pomóc...?";
};
FUNC INT DIA_PAL_888_Madris_zadanie_Condition()
{
if (npc_knowsinfo (other, DIA_PAL_888_Madris_witaj))
{
return TRUE;
};
};
FUNC VOID DIA_PAL_888_Madris_zadanie_Info()
{
AI_Output (other ,self ,"DIA_PAL_888_Madris_zadanie_15_00"); //Może moge ci pomóc ?
AI_Output (self ,other,"DIA_PAL_888_Madris_zadanie_01_01"); //Jasne możesz przynieść mi wode.
AI_Output (other ,self ,"DIA_PAL_888_Madris_zadanie_01_02"); //Pewnie postaram się to szybko załatwić.
Log_CreateTopic (TOPIC_woda, LOG_MISSION);
Log_SetTopicStatus (TOPIC_woda, LOG_RUNNING);
B_LogEntry (TOPIC_woda, "Paladyn Madris poprosił mnie abym przyniósł mu wody");
};
//*********************************************************************
// KONIEC ZADANIA
//*********************************************************************
INSTANCE DIA_PAL_888_Madris_mamwode (C_INFO)
{
npc = PAL_888_Madris;
nr = 1;
condition = DIA_PAL_888_Madris_mamwode_Condition;
information = DIA_PAL_888_Madris_mamwode_Info;
permanent = FALSE;
description = "Mam wodę";
};
FUNC INT DIA_PAL_888_Madris_mamwode_Condition()
{
if (npc_knowsinfo (other, DIA_PAL_888_Madris_zadanie))
&& (npc_hasitems (other, itfo_water) >= 1);
{
return TRUE;
};
};
FUNC VOID DIA_PAL_888_Madris_mamwode_Info() //&& (npc_hasitems (other, itfo_water) >= 1);
{
AI_Output (other ,self ,"DIA_PAL_888_Madris_mamwode_15_00"); //Mam wodę.
AI_Output (self ,other,"DIA_PAL_888_Madris_mamwode_01_01"); //Dzięki masz tutaj nagrodę.
AI_Output (other ,self ,"DIA_PAL_888_Madris_mamwode_01_02"); //Nie ma za co.
B_Giveinvitems (other, self, itfo_water, 1);
Createinvitems (self, itmi_gold, 100);
B_giveinvitems (self, other, itmi_gold, 100);
Log_SetTopicStatus (TOPIC_woda, LOG_SUCCES);
B_LogEntry (TOPIC_woda, "Dałem Madrisowi wode");
};
Zainstaluj GMDK lub GMDK2 jeśli gothic 2 jest to niezbędna paczka plików bez których nic nie zrobisz w grze.