Scripts

TR_m3_NPC_IlleneOrd_scp

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
doOnce
Source
1Begin TR_m3_NPC_IlleneOrd_scp 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9 10short doOnce 11 12if ( CellChanged ) 13 if ( GetJournalIndex TR_m3_TT_Illene2 >= 100 ) 14 disable 15 elseif ( GetJournalIndex TR_m3_TT_Illene2 >= 10 ) 16 enable 17 else 18 disable 19 endif 20endif 21 22if ( OnDeath ) 23 set doOnce to -1 24endif 25 26if ( GetJournalIndex "TR_m3_TT_Illene2" == 70 ) 27 if ( doOnce == 0 ) 28 set doOnce to 1 29 AiWander 256 0 0 30 ForceGreeting 31 return 32 endif 33endif 34 35if ( TR_Map ) 36 return 37endif 38 39set TR_Map to 3 40 41End