Scripts

TR_m7_NPC_VurvynOthren

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
doonce
Source
1Begin TR_m7_NPC_VurvynOthren 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9 10short doonce 11 12; for checking if Vurvyn Othren is dead 13; use TR_m7_VurvynOthrenDead == 1 instead of GetDeadCount or Dead filter 14 15if ( OnDeath ) 16 set TR_m7_VurvynOthrenDead to 1 17endif 18 19if ( GetJournalIndex TR_m7_JNS_TheBoss_BreathingOut == 100 ) 20 if ( GetDisabled == 0 ) 21 disable 22 endif 23elseif ( GetJournalIndex TR_m7_JNS_TheBoss_BreathingOutp >= 30 ) 24 if ( doonce < 2 ) 25 set doonce to 2 26 sethealth 0 27 set TR_m7_VurvynOthrenDead to 1 28 endif 29elseif ( GetJournalIndex TR_m7_JNS_TheBoss_BreathingOutp >= 20 ) 30 if ( doonce < 1 ) 31 set doonce to 1 32 setfight 100 33 setflee 100 34 endif 35endif 36 37if ( TR_Map ) 38 return 39endif 40 41set TR_Map to 7 42 43End