Scripts

fab_attack_helseth

Tribunal.esm
Variables 2
Local Variables
state
journalOnce
Source
1begin fab_attack_helseth 2 3;guards during the attack 4 5short state 6short journalOnce 7 8if state == -1 9 return 10endif 11 12if ( GetHealth < 1 ) 13 return 14endif 15 16if ( FabAttack == 1 ) 17 if ( getjournalindex "tr_mhattack" < 30 ) 18 if ( GetDistance, Player < 300 ) 19 if ( saydone == 1 ) 20 Say "vo\misc\tr_royal_4.mp3" , "Attack the creatures!! We must defend the city!!!!" 21 if ( journalOnce == 0 ) 22 journal "tr_mhattack" 20 23 set journalOnce to -1 24 endif 25 set state to -1 26 endif 27 endif 28 endif 29endif 30 31 32end