Scripts

TR_m1_q_OduniaHareDisappearance

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
nolore
doOnce
Source
1Begin TR_m1_q_OduniaHareDisappearance 2; This script enables the disappearance of Odunia Hare, which may 3; occur at one of the endings for TR_m1_EEC_Lora2. It has been combined 4; with the existing default Map 1 NPC quest. 5 6short TR_Map 7short control 8short controlQ 9short T_Local_NPC 10short nolore 11short doOnce 12 13if ( getjournalindex TR_m1_FW_CollegeRealThing > 0 ) 14 if ( getjournalindex TR_m1_FW_CollegeRealThing < 100 ) 15 if ( ondeath ) 16 journal TR_m1_FW_CollegeRealThing 110 17 endif 18 endif 19endif 20 21if ( doOnce == 1 ) 22 return 23endif 24 25if ( GetJournalIndex TR_m1_EEC_Lora2 == 35 ) 26 if ( CellChanged ) 27 if ( GetDisabled == 0 ) 28 Disable 29 set doOnce to 1 30 endif 31 endif 32 Return 33endif 34 35if ( TR_Map == 1 ) 36 return 37endif 38 39set TR_Map to 1 40 41End