// ***************************************************
// B_RemoveQuarhodron
// ***************************************************
var int B_RemoveQuarhodron_OneTime;
var int B_RemoveRhademes_OneTime;
var int B_RemoveMordred_OneTime;
func int B_RemoveGhost ()
{
if (Ghost_SCKnowsHow2GetInAdanosTempel == TRUE)
{
if (SC_SummonedAncientGhost == TRUE)
&& (B_RemoveQuarhodron_OneTime == FALSE)
{
AI_Teleport (NONE_ADDON_111_Quarhodron, "TOT");
B_RemoveNpc (NONE_ADDON_111_Quarhodron);
Snd_Play ("MFX_GhostVoice");
Snd_Play ("MFX_Firestorm_Cast");
B_RemoveQuarhodron_OneTime = TRUE;
GhostAttackWarn = 0;
};
};
if (ADW_ADANOSTEMPEL_STONEGRD_TRIGG_FUNC_01_OneTime == TRUE)
{
if (SC_TookRhademesTrap == TRUE)
&& (B_RemoveRhademes_OneTime == FALSE)
{
AI_Teleport (NONE_ADDON_112_Rhademes, "TOT");
B_RemoveNpc (NONE_ADDON_112_Rhademes);
if (SC_TalkedToRhademAfter == TRUE)
{
Snd_Play ("MFX_GhostVoice");
Snd_Play ("MFX_Firestorm_Cast");
};
B_RemoveRhademes_OneTime = TRUE;
GhostAttackWarn = 0;
};
};
if (Mordred_Zemstadokonana == TRUE)
{
if (B_RemoveMordred_OneTime == FALSE)
{
AI_Teleport (NONE_20079_Mordred, "TOT");
B_RemoveNpc (NONE_20079_Mordred);
Snd_Play ("MFX_GhostVoice");
Snd_Play ("MFX_Firestorm_Cast");
B_RemoveMordred_OneTime = TRUE;
GhostAttackWarn = 0;
};
};
};
Tego się trzymałem! I nie pomogło!
Rutyny postaci:
daily_routine = Rtn_Start_20079;
};
FUNC VOID Rtn_Start_20079 ()
{
TA_Ghost (08,00,22,00,"NW_CRYPT_IN_01");
TA_Ghost (22,00,08,00,"NW_CRYPT_IN_01");
};
FUNC VOID Rtn_TOT_20079 ()
{
TA_Ghost (08,00,22,00,"TOT");
TA_Ghost (22,00,08,00,"TOT");
};