Scripts

TR_m3_Hal_Letter_sc

TR_Mainland.esm
Variables 2
Local Variables
OnPCEquip
PCSkipEquip
Source
1Begin TR_m3_Hal_Letter_sc 2 3short OnPCEquip 4short PCSkipEquip 5 6set PCSkipEquip to 0 7 8if ( MenuMode ) 9 set PCSkipEquip to 1 10 if ( OnPCEquip ) 11 addtopic "Haliwaran" 12 set OnPCEquip to 0 13 set PCSkipEquip to 0 14 Activate 15 endif 16 return 17endif 18 19 20if ( OnActivate ) 21 addtopic "Haliwaran" 22 Activate 23endif 24 25; disable after Haliwaran is occupied by Indorils 26 27if ( TR_m3_Hal_TowerState == 2 ) 28 if ( GetDisabled == 0 ) 29 disable 30 return 31 else 32 return 33 endif 34elseif ( GetDisabled ) 35 enable 36 return 37endif 38 39End