Scripts

TR_m3_NPC_RalasHardil

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
T_Local_NoLore
DoOnce
Source
1Begin TR_m3_NPC_RalasHardil 2 3short TR_Map 4short control 5short controlQ 6short T_Local_NPC 7short NoLore 8short T_Local_NoLore 9short DoOnce ; set by moving to Vhul, Watchers Cornerclub 10 11if ( CellChanged ) 12 if ( DoOnce == 0 ) 13 if ( TR_m3_HI_RoaDyr5_Cure ) ; cured 14 if ( GetJournalIndex "TR_m3_HI_RoaDyr5" >= 70 ) 15 ; done like this rather than in global script because the different quest paths make it difficult to find the right place to start a global script 16 PositionCell 4080 4047 15625 7200 "Vhul, Watchers Cornerclub" ; TR_m3_MARK_HI_RoaDyr5_Ralas 17 AiWander 0 0 0 18 set DoOnce to 1 19 endif 20 endif 21 endif 22endif 23 24if ( CellChanged ) 25 if ( GetJournalIndex "TR_m3_HI_RoaDyr5" >= 500 ) 26 if ( GetDisabled == 0 ) 27 Disable 28 endif 29 endif 30endif 31 32if ( GetEffect sEffectCureCommonDisease == 1 ) 33 if ( TR_m3_HI_RoaDyr5_Cure == 0 ) 34 moddisposition 30 35 set TR_m3_HI_RoaDyr5_Cure to 1 36 endif 37endif 38 39if ( TR_Map ) 40 return 41endif 42 43set TR_Map to 3 44 45End