Scripts

TR_m1_IL_bodyscript

TR_Mainland.esm
Variables 2
Local Variables
control
DoOnce
Source
1Begin TR_m1_IL_bodyscript 2 3short control 4short DoOnce 5 6if ( GetJournalIndex "TR_m1_IL_Fauna2" < 10 ) 7 if ( GetDisabled == 0 ) 8 disable 9 endif 10elseif ( GetJournalIndex "TR_m1_IL_Fauna2" < 50 ) 11 if ( control == 0 ) 12 if ( GetDisabled == 1 ) 13 enable 14 endif 15 endif 16else 17;body vanishes after player returns to Vycius 18 if ( GetDisabled == 0 ) 19 disable 20 endif 21endif 22 23if ( OnActivate ) 24 if ( DoOnce == 0 ) 25 if ( GetJournalIndex "TR_m1_IL_Fauna2" < 30 ) 26 Journal "TR_m1_IL_Fauna2" 30 27 set DoOnce to 1 28 activate 29 endif 30 elseif ( doonce == 1 ) 31 activate 32 endif 33endif 34 35End