Scripts

TR_m7_Ns_FG_3_ScGuar

TR_Mainland.esm
Variables 2
Local Variables
OnPCHitMe
control
Source
1Begin TR_m7_Ns_FG_3_ScGuar 2 3short OnPCHitMe 4short control 5 6if ( CellChanged == 0 ) 7 return 8endif 9 10if ( GetJournalIndex "TR_m7_Ns_FG_3" < 10 ) 11 if ( GetDisabled == 0 ) 12 disable 13 endif 14 return 15elseif ( GetJournalIndex "TR_m7_Ns_FG_3" >= 100 ) 16 if ( GetDisabled == 0 ) 17 disable 18 endif 19 return 20elseif ( GetDisabled ) 21 enable 22endif 23 24if ( OnPCHitMe ) 25 set OnPCHitMe to 0 26 if ( control == 0 ) 27 if ( GetDeadCount "TR_m7_Horrav Iascus" == 0 ) 28 "TR_m7_Horrav Iascus"->setfight 90 29 endif 30 set control to 1 31 endif 32 startcombat player 33endif 34 35End