Scripts

TR_m4_Bal_VunalHelm_Sc

TR_Mainland.esm
Variables 1
Local Variables
control
Source
1Begin TR_m4_Bal_VunalHelm_Sc 2 3short control 4 5if ( OnActivate ) 6 if ( control == 0 ) 7 8 if ( T_Glob_PorphyricInfected ) 9 elseif ( player->GetSpell "Vampire Blood Quarra" ) 10 elseif ( player->GetSpell "Vampire Blood Aundae" ) 11 elseif ( player->GetSpell "Vampire Blood Berne" ) 12 elseif ( PCVampire != 0 ) 13 elseif ( PCWerewolf == 1 ) 14 else 15 player->addspell "T_Vamp_Dis_Baluath" 16 if ( ScriptRunning "T_ScVamp_Baluath_PC" != 1 ) 17 StartScript "T_ScVamp_Baluath_PC" 18 endif 19 MessageBox "You have contracted Porphyric Hemophilia" 20 endif 21 22 set control to 1 23 endif 24 Activate 25endif 26 27End