dosinabox / g2_classic

Проект переноса чистого оригинала Готики 2 без аддона на движок Г2НВ версии 2.6 с максимальной адаптацией скриптов.
https://worldofplayers.ru/threads/41796
The Unlicense
4 stars 2 forks source link

AI_Teleport #68

Closed Kor-Angar closed 3 years ago

Kor-Angar commented 3 years ago
Kor-Angar commented 3 years ago

dia_garond_marcos_info

а почему телепорты в оригинальном коде не сработали?

начинают идти пешком в b_startotherroutine и до AI_Teleport не доходит, нужно поменять местами

_Originally posted by @dosinabox in https://github.com/dosinabox/g2_classic/issues/9#issuecomment-792998333_

dosinabox commented 3 years ago

исправлено

Kor-Angar commented 3 years ago
    //------------Igaraz klar machen------------------- 
    AI_Teleport (Igaraz,"NW_TAVERNE_BIGFARM_05");   
    B_StartOtherRoutine (Igaraz,"CONTEST");

    CreateInvItems (Igaraz, ItKe_MagicChest,1);
    Igaraz.aivar [AIV_DropDeadAndKill] = TRUE;
    Igaraz.aivar [AIV_NewsOverride] = TRUE;

    //---------Smalltalk Partner herbeirufen 
    B_StartOtherRoutine (NOV607,"EXCHANGE");
    //------------Agon klar machen-------------------
    AI_Teleport (Agon,"NW_MAGECAVE_RUNE");
    B_StartOtherRoutine (Agon,"GOLEMDEAD");

    CreateInvItems (Agon, ItKe_MagicChest,1);       
    Agon.aivar [AIV_DropDeadAndKill] = TRUE;
    Agon.aivar [AIV_NewsOverride] = TRUE;
    //------------Ulf klar machen-------------------
    AI_Teleport (Ulf,"NW_TROLLAREA_PATH_42");
    B_StartOtherRoutine (Ulf,"SUCHE");

    CreateInvItems (Ulf, ItKe_MagicChest,1);    
    Ulf.aivar [AIV_DropDeadAndKill] = TRUE;
    Ulf.aivar [AIV_NewsOverride] = TRUE;
Kor-Angar commented 3 years ago
    AI_Teleport(djg_angar,"OW_DJG_WATCH_STONEHENGE_01");
    b_startotherroutine(djg_angar,"Start");