Scripts

TR_m3_q_theril

TR_Mainland.esm
Variables 7
Local Variables
nolore
doonce
enableonce
disableonce
T_Local_NPC
T_Local_NoLore
TR_Map
Source
1begin TR_m3_q_theril 2 3short nolore 4short doonce 5short enableonce 6short disableonce 7short T_Local_NPC 8short T_Local_NoLore 9short TR_Map 10 11if ( TR_Map != 3 ) 12 set TR_Map to 3 13endif 14 15if ( OnDeath == 1 ) 16 Journal TR_m3_OE_Freedom2 30 17 TR_m3_q_fiendblade_empty->PositionCell 4276 4057 15523 52 "Ebon Tower, Imperial Commission: Top Floor" 18endif 19 20if ( doonce == 0 ) 21 if ( "TR_m3_Theril Gilnyth"->GetHealth < 80 ) 22 "TR_m3_Theril Gilnyth"->SetFight 100 23 "TR_m3_Theril Gilnyth"->Startcombat Player 24 "TR_m3_Kharg Gro-guk"->SetFight 100 25 "TR_m3_Kharg Gro-guk"->Startcombat Player 26 set doonce to 1 27 endif 28endif 29 30if ( enableonce == 1 ) 31 return 32endif 33 34if ( GetJournalIndex TR_m3_OE_Freedom2 >= 10 ) 35 enable 36 set enableonce to 1 37endif 38 39if ( disableonce == 1 ) 40 return 41endif 42 43if ( GetJournalIndex TR_m3_OE_Freedom2 < 10 ) 44 disable 45 set disableonce to 1 46endif 47 48end