Tutaj masz pokazane jak zostało to zrobione w Global Mod
Pierwszy skrypt zs_teleporthero jest w Content\AI\Human\TA_Human, a to jego zawartość:
func void zs_teleporthero(var string wp)
{
Perception_Set_Normal();
B_ResetAll(hero);
AI_Teleport(hero,wp);
hero.aivar[AIV_INVINCIBLE] = FALSE;
};
func void zs_teleporthero_kloster()
{
zs_teleporthero("NW_MONASTERY_PLACE_03");
};
W dialogu postaci wygląda to tak:
AI_StartState(self,zs_teleporthero_kloster,0,"");
Możesz sprawdzić czy zadziała to u ciebie