Scripts

TR_m3_q_27_HozgubSCN

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
nolore
control
controlQ
T_Local_NPC
T_Local_NoLore
hozgub
Source
1Begin TR_m3_q_27_HozgubSCN 2 3short TR_Map 4short nolore 5short control 6short controlQ 7short T_Local_NPC 8short T_Local_NoLore 9 10short hozgub 11; hozgub == 0 means the player hasn't found Hozgub yet. 12; hozgub == 1 means the player has found but not questioned Hozgub yet. 13; hozgub == 2 means the player has questioned Hozgub but not told Amiro yet. 14; hozgub == 3 means the player has told Amiro about Hozgub's resignation already. 15; The above variable hozgub is used to condition dialogue entries. 16; It should be set simultaneously with the identically named variable in 17; TR_m2_q_27_AmiroSCN. 18 19; The player notices Hozgub when he stands right before him: 20if ( getJournalIndex TR_m2_FG_Amiro1 >= 10 ) 21 if ( hozgub == 0 ) 22 if ( getDistance Player < 200 ) 23 set hozgub to 1 24 set TR_m2_Amiro.hozgub to 1 25 journal TR_m2_FG_Amiro1 20 26 endif 27 endif 28endif 29 30;this is for TR_m3_Sup_VampPrank 31if ( OnDeath ) 32 if ( GetJournalIndex "TR_m3_Sup_VampPrank" >= 10 ) 33 if ( GetJournalIndex "TR_m3_Sup_VampPrank" < 100 ) 34 Journal "TR_m3_Sup_VampPrank" 102 35 endif 36 endif 37endif 38 39 40if ( TR_Map ) 41 return 42endif 43 44set TR_Map to 3 45 46End