Scripts

beastriekScript

Bloodmoon.esm
Variables 1
Local Variables
doOnce
Source
1Begin beastriekScript 2 3;ENABLES/DISABLES, STARTS COMBAT, SETS RIEKKILLED VARIABLE 4 5short doOnce 6 7if ( OnDeath == 1 ) 8 set riekkilled to ( riekkilled + 1 ) 9endif 10 11if ( GetDisabled == 0 ) 12 if ( GetJournalIndex BM_Beasts < 10 ) 13 Disable 14 endif 15elseif ( GetDisabled == 1 ) 16 if ( GetJournalIndex BM_Beasts >= 10 ) 17 Enable 18 endif 19endif 20 21if ( GetDistance Player <= 1500 ) 22 if ( doOnce == 0 ) 23 StartCombat BM_bear_be_UNIQUE 24 set doOnce to 1 25 endif 26endif 27 28 29 30 31 32 33 34 35End beastriekScript