Scripts

TR_m3_Nanaav_Ghosts_Sc

TR_Mainland.esm
Variables 1
Local Variables
control
Source
1Begin TR_m3_Nanaav_Ghosts_Sc 2 3short control 4 5if ( control == 2 ) 6 return 7endif 8 9if ( CellChanged ) 10 SetFight 30 11 StopCombat 12 set control to 0 13endif 14 15if ( OnDeath ) 16 set control to 2 17endif 18 19if ( control == 0 ) 20 if ( GetDistance player < 100 ) 21 SetFight 100 22 StartCombat Player 23 set control to 1 24 endif 25endif 26 27End