Scripts

TR_m4_AA_Sehutu_SkelPasScp

TR_Mainland.esm
Variables 1
Local Variables
attackVildaryn
Source
1begin TR_m4_AA_Sehutu_SkelPasScp 2 3;global TR_m4_AA_SehutuDead 4;global TR_m4_AA_SehutuAggro 5short attackVildaryn 6 7if ( MenuMode ) 8 return 9endif 10 11if ( TR_m4_AA_SehutuDead == 1 ) 12 if ( GetDisabled == 0 ) 13 StopCombat 14 Disable 15 endif 16endif 17 18if ( TR_m4_AA_SehutuAggro == 1 ) 19 if ( TR_m4_AA_SehutuDead == 0 ) 20 if ( GetDistance player <= 256 ) 21 SetFight 100 22 StartCombat player 23 endif 24 endif 25endif 26 27if ( GetJournalIndex "TR_m4_wil_BelBetu1" < 60 ) 28 if ( attackVildaryn == 1 ) 29 StartCombat "TR_m4_Vildaryn Terano" 30 set attackVildaryn to 2 31 endif 32endif 33 34end