Scripts

TR_m7_FrorkDis_sc

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
T_Local_NoLore
Source
1Begin TR_m7_FrorkDis_sc 2; Script for TR_m7_Ns_DisTaste, makes Frork surrender 3short TR_Map 4short control 5short controlQ ; 1 = fighting, 2 = defeated, 3 = speeched (set in results) 6short T_Local_NPC 7short NoLore 8short T_Local_NoLore 9 10if ( controlQ == 1 ) 11 if ( GetHealth <= 40 ) 12 Journal TR_m7_Ns_DisTaste 75 13 ForceGreeting 14 Set controlQ to 2 15 StopCombat 16 endif 17endif 18 19if ( OnDeath == 1 ) 20 if ( GetDeadCount "TR_m7_Fels Daryno" > 0 ) 21 if ( GetJournalIndex "TR_m7_Ns_DisTaste" > 0 ) 22 if ( GetJournalIndex "TR_m7_Ns_DisTaste" < 100 ) 23 Journal "TR_m7_Ns_DisTaste" 200 24 endif 25 endif 26 endif 27endif 28 29if ( TR_Map != 7 ) 30 set TR_map to 7 31endif 32 33End