Scripts

TR_m2_FG_Cultist_deathcount

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
doonce
Source
1Begin TR_m2_FG_Cultist_deathcount 2 3; Script on the daedric cultists for quest TR_m2_FG_Hartise_Tainted. 4 5short TR_Map 6short control 7short controlQ 8short T_Local_NPC 9short NoLore 10short doonce 11 12if ( TR_map == 0 ) 13 set TR_Map to 2 14endif 15 16if ( OnDeath ) 17 set TR_m2_FG_cultist_counter to ( TR_m2_FG_cultist_counter + 1 ) 18endif 19 20if ( tr_m2_FG_cultist_counter > 2 ) 21 if ( TR_m2_o_Benelion.doonce == 0 ) 22 if ( GetJournalIndex TR_m2_FG_Hartise_Tainted == 26 ) 23 if ( TR_m2_Arfil->getdistance player <= 400 ) 24 TR_m2_Arfil->forcegreeting 25 set TR_m2_o_Benelion.doonce to 1 26 endif 27 endif 28 endif 29endif 30 31End