Scripts

SothaImperfect

Tribunal.esm
Variables 2
Local Variables
state
timer
Source
1begin SothaImperfect 2 3;script on creature 4 5short state 6float timer 7 8;come alive 9if ( state == 0 ) 10 11 if ( getdistance, player < 1500 ) 12 set state to 10 13 playsound "FabBossAlive" 14 act_sotha_fabsteam->PlayGroup Idle2 15 ;replace with gear bending sound of creature coming alive 16 endif 17 18elseif ( state == 10 ) 19 if ( timer < 8 ) 20 set timer to ( timer + getsecondspassed ) 21 else 22 playsound "FabBossRoar" 23 act_sotha_fabsteam->Disable 24 ;replace with sound of imperfect popping up 25 setfight 100 26 set timer to 0 27 set state to -1 28 endif 29endif 30 31endif 32 33 34 35end