Scripts

aspect2Script

Bloodmoon.esm
Variables 6
Local Variables
doOnce
xposi
yposi
zposi
zrotposi
timer
Source
1Begin aspect2Script 2 3float xposi 4float yposi 5float zposi 6float zrotposi 7short doOnce 8float timer 9 10if ( OnDeath == 1 ) 11 if ( GetJournalIndex BM_WildHunt < 92 ) 12 Journal BM_WildHunt 93 13 set doOnce to 1 14 endif 15endif 16 17set xposi to ( GetPos X ) 18set yposi to ( GetPos Y ) 19set zposi to ( GetPos Z ) 20set zrotposi to ( GetAngle Z ) 21 22if ( MenuMode == 1 ) 23 return 24endif 25 26if ( doOnce == 1 ) 27 if ( Player->GetItemCount key_hircine3 > 0 ) 28 PlaceItem "BM_wereeffect3" xposi yposi zposi zrotposi 29 set doOnce to 2 30 endif 31endif 32 33if ( doOnce == 2 ) 34 set timer to ( timer + GetSecondsPassed ) 35 if ( timer > 1.5 ) 36 Disable 37 set doOnce to 3 38 endif 39endif 40 41End aspect2Script