Scripts

TR_m7_Ralasu_Osun_sc

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m7_Ralasu_Osun_sc 2 3short TR_Map 4short control 5short controlQ 6short T_Local_NPC 7short NoLore 8 9if ( CellChanged == 1 ) 10 if ( TR_m7_HH_Alvynu_5_AssState == 1 ) 11 if ( GetDisabled == 1 ) 12 Enable 13 endif 14 if ( control == 0 ) 15 set control to 1 16 endif 17 elseif ( GetDisabled == 0 ) 18 Disable 19 set control to 0 20 endif 21endif 22 23if ( control >= 1 ) 24 if ( GetDeadCount "TR_m7_Mureth Arelan" == 0 ) 25 if ( GetEffect sEffectCalmHumanoid == 0 ) 26 startcombat "TR_m7_Mureth Arelan" 27 endif 28 endif 29 if ( control == 1 ) 30 Journal "TR_m7_HH_Alvynu_5" 20 31 set control to 2 32 endif 33endif 34 35if ( TR_Map ) 36 return 37endif 38 39set TR_Map to 7 40 41End