Scripts

TR_m4_NPC_Oirdo

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
teleportOnce
T_Local_NPC
NoLore
Source
1Begin TR_m4_NPC_Oirdo 2 3; Script on NPC "TR_m4_Oirdo Malamartle" for quest 4; "TR_m4_wil_HautharmoKill". 5 6short TR_Map 7short control 8short controlQ 9short teleportOnce 10short T_Local_NPC 11short NoLore 12 13if ( MenuMode == 1 ) 14 return 15endif 16 17if ( GetDisabled == 0 ) 18 if ( GetJournalIndex "TR_m4_wil_HautharmoKill" == 200 ) 19 if ( CellChanged == 1 ) 20 disable 21 endif 22 endif 23endif 24 25 26if ( OnDeath == 1 ) 27 if ( GetJournalIndex "TR_m4_wil_HautharmoKill" >= 10 ) 28 if ( GetJournalIndex "TR_m4_wil_HautharmoKill" < 75 ) 29 Journal "TR_m4_wil_HautharmoKill" 75 30 endif 31 endif 32endif 33 34if ( TR_Map == 4 ) 35 return 36endif 37 38set TR_Map to 4 39 40End