Scripts

cariushuntScript

Bloodmoon.esm
Variables 5
Local Variables
doOnce
nolore
playerwolf
AllowWerewolfForceGreeting
timer
Source
1Begin cariushuntScript 2 3short doOnce 4float timer 5short nolore 6short playerwolf 7short AllowWerewolfForceGreeting 8 9if ( GetJournalIndex BM_WildHunt < 30 ) 10 return 11endif 12 13if ( OnDeath == 1 ) 14 Journal BM_WildHunt 49 15endif 16 17if ( GetJournalIndex BM_WildHunt == 30 ) 18 if ( player->IsWerewolf == 0 ) 19 if ( GetDistance Player <= 512 ) 20 if ( doOnce == 0 ) 21 set timer to ( timer + GetSecondsPassed ) 22 if ( timer > 1.5 ) 23 ForceGreeting 24 set doOnce to 1 25 endif 26 endif 27 endif 28 elseif ( player->IsWerewolf == 1 ) 29 ;StartCombat Player 30 if ( GetDistance Player <= 512 ) 31 if ( doOnce == 0 ) 32 set timer to ( timer + GetSecondsPassed ) 33 if ( timer > 1.5 ) 34 set playerwolf to 1 35 ForceGreeting 36 set doOnce to -1 37 endif 38 endif 39 endif 40 endif 41endif 42 43if ( doOnce == 1 ) 44 if ( Player->IsWerewolf == 0 ) 45 if ( GetCurrentAiPackage == 3 ) 46 if ( GetDistance active_BM_carius <= 512 ) 47 if ( Player->GetDistance BM_mazegate_01 <= 800 ) 48 if ( GetDistance Player <= 512 ) 49 set cariustalk to 1 50 AiWander 0 0 0 0 0 0 51 ForceGreeting 52 endif 53 endif 54 endif 55 endif 56 endif 57endif 58 59 60 61End cariushuntScript