Scripts

TR_m3_Vr_BoundHelp_Cart

TR_Mainland.esm
Variables 1
Local Variables
control
Source
1Begin TR_m3_Vr_BoundHelp_Cart 2 3; This script is attached to the chest. When the journal condition is met 4; and the cell changes, it disables the cart objects in AO and enables them in Gorne. 5; It will NOT disable the cane if the player has ever activated it. 6 7short control 8 9if ( CellChanged == 0 ) 10 return 11endif 12 13if ( GetJournalIndex "TR_m3_Vr_BoundHelp" >= 110 ) 14elseif ( GetJournalIndex "TR_m3_Vr_BoundHelp" >= 100 ) 15 ; Disable the cart unconditionally. 16 "TR_m3_q_Endul_chest_01"->Disable 17 "TR_m3_q_Endul_bench_01"->Disable 18 "TR_m3_q_Endul_cart_01"->Disable 19 20 ; Enables the cart in Gorne 21 "TR_m3_q_Endul_chest_02"->Enable 22 "TR_m3_q_Endul_bench_02"->Enable 23 "TR_m3_q_Endul_cart_02"->Enable 24else 25 "TR_m3_q_Endul_chest_02"->Disable 26 "TR_m3_q_Endul_bench_02"->Disable 27 "TR_m3_q_Endul_cart_02"->Disable 28endif 29 30if ( TR_m3_q_cane_activated == 0 ) 31 if ( GetJournalIndex "TR_m3_Vr_BoundHelp" >= 100 ) 32 if ( GetJournalIndex "TR_m3_Vr_BoundHelp" < 130 ) 33 "TR_m3_q_Endul_cane_01"->Disable 34 endif 35 endif 36endif 37 38End