Scripts

TR_m7_EEC_deadguar_scr

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
doOnce
Source
1Begin TR_m7_EEC_deadguar_scr 2 3short TR_Map 4short control 5short controlQ 6short T_Local_NPC 7short NoLore 8short doOnce 9 10if ( GetJournalIndex "TR_m7_EEC_Narsis6" < 10 ) 11 ; disable before the quest 12 if ( GetDisabled == 0 ) 13 disable 14 endif 15 return 16 17elseif ( GetJournalIndex "TR_m7_EEC_Narsis6" >= 100 ) 18 ; disable after the quest 19 if ( GetDisabled ) 20 return 21 else 22 disable 23 return 24 endif 25 26elseif ( GetDisabled ) 27 ; enable during the quest 28 enable 29 TR_m7_EEC_deadguar->sethealth 0 30 return 31endif 32 33if ( OnActivate ) 34if ( GetJournalIndex "TR_m7_EEC_Narsis6" > 0 ) 35 if ( GetJournalIndex "TR_m7_EEC_Narsis6" < 20 ) 36 if control == 0 37 Journal "TR_m7_EEC_Narsis6" 20 38 MessageBox, "The remains of the attacked caravan are here, with tracks leading south towards the farm." 39 set control to 1 40 endif 41 endif 42 endif 43 44Activate 45endif 46 47set TR_Map to 7 48 49End