Nawet jak wstawiłem ten znak to i nadal jest błąd.
Narazie będe robił skrypty programami bo dopiero się ucze.
Może jakiś miły człowiek przepisze mi poprawnie?
//========================================
//-----------------> EXIT
//========================================
INSTANCE DIA_Mike_EXIT(C_INFO)
{
npc = DIA_STT_10000_Mike;
nr = 2;
condition = DIA_Mike_EXIT_Condition;
information = DIA_Mike_EXIT_Info;
permanent = TRUE;
description = DIALOG_ENDE;
};
FUNC INT DIA_Mike_EXIT_Condition()
{
return TRUE;
};
FUNC INT DIA_Mike_EXIT_Info()
{
AI_StopProcessInfos (self);
};
//========================================
//-----------------> HELLO
//========================================
INSTANCE DIA_Mike_HELLO (C_INFO)
{
npc = STT_10000_Mike;
nr = 1;
condition = DIA_Mike_HELLO_Condition;
information = DIA_Mike_HELLO_Info;
permanent = FALSE;
description = "Kim jestes?"
};
FUNC INT DIA_Mike_HELLO_Condition()
{
return TRUE;
};
func VOID DIA_Mike_HELLO_Info()
{
AI_Output (other, self ,"DIA_Mike_HELLO_15_01"); //kim jestes?
AI_Output (self, other ,"DIA_Mike_HELLO_03_02"); //Jestem Mike i ja tu rządze!
AI_Output (other, self ,"DIA_Mike_HELLO_15_03"); //Ok ale daj 200 bryłek
B_GiveInvItems (self, other, ITMINUGGET, 200);
AI_Output (self, other ,"DIA_Mike_HELLO_03_04"); //Masz a teraz powiedz że ja tu rządze!
AI_Output (other, self ,"DIA_Mike_HELLO_15_05"); //Jestes Boss
AI_Output (self, other ,"DIA_Mike_HELLO_03_06"); //nie s tylko ś!
AI_Output (other, self ,"DIA_Mike_HELLO_15_07"); //narqa
AI_Output (self, other ,"DIA_Mike_HELLO_03_08"); //narqa
};
// *Script was make in Easy Dialog Maker (EDM)