Używałem Easy.. coś takiego najnowszą wersję. Nie wiem czy to nie przez ten program.
//========================================
//-----------------> OPCJA *KONIEC*
//========================================
INSTANCE DIA_Melvin_EXIT(C_INFO)
{
npc = NOVADDON_5800_Melvin;
nr = 999;
condition = DIA_Melvin_EXIT_Condition;
information = DIA_Melvin_EXIT_Info;
permanent = TRUE;
description = "KONIEC";
};
FUNC INT DIA_Melvin_EXIT_Condition()
{
return TRUE;
};
FUNC INT DIA_Melvin_EXIT_Info()
{
AI_StopProcessInfos (self);
};
//========================================
//-----------------> OPCJA KRADZIEŻY
//========================================
INSTANCE DIA_Melvin_PICKPOCKET(C_INFO)
{
npc = NOVADDON_5800_Melvin;
nr = 900;
condition = DIA_Melvin_PICKPOCKET_Condition;
information = DIA_Melvin_PICKPOCKET_Info;
permanent = TRUE;
description = Pickpocket_20;
};
FUNC INT DIA_Melvin_PICKPOCKET_Condition()
{
C_Beklauen (20, 43);
};
FUNC INT DIA_Melvin_PICKPOCKET_Info()
{
Info_ClearChoices (DIA_Melvin_PICKPOCKET);
Info_AddChoice (DIA_Melvin_PICKPOCKET, DIALOG_BACK ,DIA_Melvin_PICKPOCKET_BACK);
Info_AddChoice (DIA_Melvin_PICKPOCKET, DIALOG_PICKPOCKET ,DIA_Melvin_PICKPOCKET_DoIt);
};
FUNC INT DIA_Melvin_PICKPOCKET_DoIt()
{
B_Beklauen ();
Info_ClearChoices (DIA_Melvin_PICKPOCKET);
};
FUNC INT DIA_Melvin_PICKPOCKET_BACK()
{
Info_ClearChoices (DIA_Melvin_PICKPOCKET);
};
//========================================
//-----------------> HELLO1
//========================================
INSTANCE DIA_Melvin_HELLO1 (C_INFO)
{
npc = NOVADDON_5800_Melvin;
nr = 1;
condition = DIA_Melvin_HELLO1_Condition;
information = DIA_Melvin_HELLO1_Info;
permanent = FALSE;
description = "Kim jesteś ?";
};
FUNC INT DIA_Melvin_HELLO1_Condition()
{
return TRUE;
};
FUNC VOID DIA_Melvin_HELLO1_Info()
{
AI_Output (other, self ,"DIA_Melvin_HELLO1_15_01"); //Kim jesteś ?
AI_Output (self, other ,"DIA_Melvin_HELLO1_03_02"); //hujem
AI_Output (self, other ,"DIA_Melvin_HELLO1_03_03"); //kurwa mac
};