Scripts

TR_m3_q_Kha_silhaenil_script

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
NoLore
state
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m3_q_Kha_silhaenil_script 2 3short TR_Map 4short NoLore 5short state 6short T_Local_NPC 7short T_Local_NoLore 8 9if ( OnDeath ) 10 if ( GetJournalIndex TR_m3_Kha_Forsaken_Betrayer > 0 ) 11 if ( GetJournalIndex TR_m3_Kha_Forsaken_Betrayer < 100 ) 12 Journal TR_m3_Kha_Forsaken_Betrayer 102 13 endif 14 endif 15endif 16 17if ( "TR_m3_SilhaenilAttacked" == 0 ) 18 if ( GetAttacked == 1 ) 19 set "TR_m3_SilhaenilAttacked" to 1 20 endif 21endif 22 23if ( MenuMode ) 24 Return 25endif 26 27if ( state == 1 ) 28 PlaySound "mysticism hit" 29 player->PositionCell 4505 968 14810 96 "Khalaan, Earth Bowels" ;TR_m3_MARK_Kha_ForsBetr 30 set state to 2 31endif 32 33if ( TR_Map == 0 ) 34 set TR_Map to 3 35endif 36 37End