Scripts

TR_m7_NPC_GulsHloran

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m7_NPC_GulsHloran 2 3short TR_Map 4short control 5short controlQ 6short T_Local_NPC 7short NoLore 8 9if ( controlQ ) 10 return 11endif 12 13if ( OnDeath ) 14 set controlQ to -1 15 return 16endif 17 18if ( GetJournalIndex TR_m7_Ns_IL_4 == 80 ) 19 if ( GetHealthGetRatio < 0.2 ) 20 set controlQ to 1 21 setfight 30 22 stopcombat 23 ForceGreeting 24 return 25 endif 26endif 27 28if ( TR_Map ) 29 return 30endif 31 32set TR_Map to 7 33 34End