Scripts

TR_m4_Uman_B2_DiraDisable_sc

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
T_Local_NPC
T_Local_NoLore
NoLore
doonce
Source
1Begin TR_m4_Uman_B2_DiraDisable_sc 2 3short TR_Map 4short control 5short controlQ 6short T_Local_NPC 7short T_Local_NoLore 8short NoLore 9 10short doonce 11 12if ( TR_m4_Uman_B2_DiraBrought == 0 ) 13 if ( GetJournalIndex TR_m4_Uman_B2 == 30 ) 14 if ( GetPCCell "Uman, Hound's Rest Inn" ) 15 set TR_m4_Uman_B2_DiraBrought to 1 16 AIWander 0 0 0 0 0 0 0 0 0 0 0 0 17 endif 18 endif 19endif 20 21if ( GetJournalIndex TR_m4_Uman_B2 == 200 ) 22 if ( doonce == 0 ) 23 AIWander 0 0 0 0 0 0 0 0 0 0 0 0 24 set doonce to 1 25 endif 26endif 27 28if ( CellChanged ) 29 if ( GetDisabled == 0 ) 30 if ( GetJournalIndex TR_m4_Uman_B2 == 36 ) 31 Disable 32 elseif ( GetJournalIndex TR_m4_Uman_B2 == 45 ) 33 Disable 34 elseif ( GetJournalIndex TR_m4_Uman_B2 == 200 ) 35 if ( GetPCCell "Syndros" == 0 ) 36 Disable 37 endif 38 endif 39 endif 40endif 41 42if ( TR_Map == 4 ) 43 return 44endif 45 46set TR_Map to 4 47 48End