Scripts

TR_m3_NPC_Onvos_Dovyn

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m3_NPC_Onvos_Dovyn 2; Script on NPC "TR_m3_Onvos Dovyn_ST" for quest TR_m3_Vh_Temple. 3 4short TR_Map 5short control 6short controlQ 7short T_Local_NPC 8short NoLore 9 10if ( controlQ == 0 ) 11 if ( GetJournalIndex "TR_m3_HI_RoaDyr5" >= 500 ) 12 if ( CellChanged ) 13 set controlQ to 1 14 Disable 15 endif 16 endif 17endif 18 19if ( GetJournalIndex "TR_m3_Vh_Temple" == 10 ) 20 if ( GetHealth <= 40 ) 21 StopCombat 22 SetHealth 45 23 Journal "TR_m3_Vh_Temple" 20 24 startscript "TR_m3_Vh_Temple_Move_sc" 25 ForceGreeting 26 return 27 endif 28endif 29 30if ( TR_Map == 3 ) 31 return 32endif 33 34set TR_Map to 3 35 36End