Scripts

TR_m4_NPC_Duvlas

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
doOnce
Source
1Begin TR_m4_NPC_Duvlas 2 3short TR_Map 4short control 5short controlQ 6short T_Local_NPC 7short NoLore 8short doOnce 9 10if ( GetDisabled == 1 ) 11 return 12endif 13 14if ( GetDisabled == 0 ) 15 if ( GetDeadCount "TR_m4_O_Baris" >= 1 ) 16 disable 17 return 18 endif 19endif 20 21if ( doOnce == 0 ) 22 if ( TR_m3_q_Kassad_QuestionedNumbe >= 4 ) 23 if ( GetDistance player <= 250 ) 24 ForceGreeting 25 return 26 endif 27 endif 28endif 29 30if ( doOnce == 1 ) 31 if ( GetHealthGetRatio < 0.25 ) 32 if ( GetDeadCount "TR_m4_Duvlas" < 1 ) 33 SetFatigue 100 34 ForceGreeting 35 return 36 endif 37 endif 38endif 39 40if ( TR_Map == 4 ) 41 return 42endif 43 44set TR_Map to 4 45 46End