Scripts

TR_m3_NPC_AdosiBiran

TR_Mainland.esm
Variables 8
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
T_Local_NoLore
forcegreetOnce
scrollGiven
Source
1Begin TR_m3_NPC_AdosiBiran 2 3short TR_Map 4short control 5short controlQ 6short T_Local_NPC 7short NoLore 8short T_Local_NoLore 9 10short forcegreetOnce 11short scrollGiven 12 13if ( forcegreetOnce == 0 ) 14 if ( getJournalIndex "TR_m3_TG_AT_Q6" == 140 ) 15 set forcegreetOnce to 1 16 elseif ( getJournalIndex "TR_m3_TG_AT_Q6" >= 120 ) 17 if ( TR_m3_AT_TG_Q6_ThugsDeadCount == 0 ) 18 if ( getDistance player < 380 ) 19 if ( player->GetPos z > -100 ) 20 if ( player->GetPos z < 200 ) 21 set forcegreetOnce to 1 22 forcegreeting 23 endif 24 endif 25 endif 26 endif 27 endif 28endif 29 30if ( TR_Map == 3 ) 31 return 32endif 33 34set TR_Map to 3 35 36End