Scripts

TR_m1_FW_MG_NPC_Absolon

TR_Mainland.esm
Variables 8
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
following
timer
Source
1Begin TR_m1_FW_MG_NPC_Absolon 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9short following 10float timer 11 12if ( MenuMode == 1 ) 13 return 14endif 15 16if ( TR_map == 0 ) 17 set TR_map to 1 18endif 19 20if ( GetPCCell "Yamandalkal, Crying Chambers" == 1 ) 21 if ( GetCurrentAIPackage == 3 ) 22 if ( GetPos Y > 700 ) 23 if ( GetEffect sEffectCommandHumanoids == 0 ) 24 set following to -1 25 ForceGreeting 26 endif 27 endif 28 endif 29endif 30 31if ( TR_m1_FWMG_XivilaiTatho->OnDeath == 1 ) 32 AIWander 0 0 0 33endif 34 35if ( controlQ >= 1 ) 36 set timer to ( timer + GetSecondsPassed ) 37 if ( controlQ == 1 ) 38 cast recall TR_m1_absolon 39 set controlQ to 2 40 elseif ( controlQ == 2 ) 41 if ( timer >= 2 ) 42 set controlQ to 0 43 set timer to 0 44 disable 45 endif 46 endif 47endif 48 49 50End