Quantcast
Channel: World of Players
Viewing all articles
Browse latest Browse all 41754

Gespräch nach Kampf

$
0
0
Hallo ihr Lieben! Wenn der Hero gegen einen NPC gekämpft hat, soll ein anderer NPC zum Hero gelaufen kommen und einen important Dialog starten. So sieht mein Script gerade aus:

Code:

instance DIA_Kardif_STOP_IT (C_INFO)
{
    npc              =    VLK_431_Kardif;
    nr            =  3;
    condition    =    DIA_Kardif_STOP_IT_Condition;
    information    =    DIA_Kardif_STOP_IT_Info;
    permanent        = FALSE;
    important  = TRUE;
    description    =    "Stop";
};
func int DIA_Kardif_STOP_IT_Condition()
{
        if Npc_IsInState (hero,ZS_Unconscious)
        {
        return TRUE;
        }
        else if Npc_IsInState (VLK_99999_Jonathan,ZS_Unconscious)
        {
        return TRUE;
        };
};


func void DIA_Kardif_STOP_IT_Info ()


{
    AI_Output (self, other, "DIA_Kardif_STOP_IT_02_05"); //Hey! Ich glaube, du solltest jetzt besser gehen.

Es wird auch geparst, aber sonst passiert nichts weiter nach dem Kampf. Wie kann ich das lösen?

Viewing all articles
Browse latest Browse all 41754