Scripts

GaminScript

Bloodmoon.esm
Variables 3
Local Variables
OnPCHitMe
Gaminfollow
nolore
Source
1Begin GaminScript 2 3short OnPCHitMe 4short Gaminfollow 5short nolore 6 7if ( GetJournalIndex "CO_1" < 10 ) 8 return 9elseif ( GetJournalIndex "CO_1" < 30 ) 10 if ( Ondeath == 1 ) 11 Journal CO_1 300 12 endif 13endif 14 15if ( GetJournalIndex "CO_1" == 20 ) 16 if ( Gaminfollow == 0 ) 17 AIfollow "Gidar Verothan" 0 -198017 160157 800 0 18 set gaminfollow to 1 19 endif 20endif 21 22if ( gaminfollow == 1 ) 23 if ( GetJournalIndex "CO_1" >= 30 ) 24 if ( GetDistance "Gidar Verothan" < 512 ) 25 AiWander 0 0 0 60 30 20 0 0 0 0 0 0 26 setalarm 50 27 set gaminfollow to 2 28 endif 29 endif 30endif 31 32if ( OnPCHitMe == 1 ) 33 "Gidar Verothan"->StartCombat Player 34 "Sabinus Oranius"->StartCombat Player 35 SetFight 100 36 StartCombat Player 37endif 38 39 40End GaminScript