Scripts

ColonyWolfKill

Bloodmoon.esm
Variables 3
Local Variables
doonce
attack
move
Source
1Begin ColonyWolfKill 2 3short doonce 4short attack 5short move 6 7if ( GetDisabled == 0 ) 8 if ( GetJournalIndex "CO_9a" < 10 ) 9 Disable 10 endif 11endif 12 13if ( GetDisabled == 1 ) 14 if ( GetJournalIndex "CO_9a" >= 10 ) 15 Enable 16 endif 17endif 18 19;if ( move == 0 ) 20; if ( GetJournalIndex "CO_9a" == 30 ) 21; ForceRun 22; AiTravel -178928.891 155303.813 1012.008 0 23; set move to 1 24; endif 25;elseif ( move == 1 ) 26; if ( GetAIPackageDone == 1 ) 27; set move to 2 28; endif 29;elseif ( move == 2 ) 30; AiTravel -178261.063 152603.547 1034.483 0 31; set move to 3 32;elseif ( move == 3 ) 33; if ( GetAiPackageDone == 1 ) 34; set move to 4 35; endif 36;elseif ( move == 4 ) 37; ClearForceRun 38; AiWander 0 0 0 0 0 0 0 0 0 0 39; set move to 5 40;endif 41 42 43if ( doonce == 0 ) 44 if ( GetHealth < 1 ) 45 if ( GetTarget "Player" == 1 ) 46 Journal CO_9a 60 47 else 48 Journal CO_9a 50 49 endif 50 set doonce to 1 51 endif 52endif 53 54 55End