Scripts

TR_m7_Ungolfin_Script

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
NoLore
T_Local_NPC
T_Local_NoLore
doOnce
Source
1Begin TR_m7_Ungolfin_Script 2 3short TR_Map 4short NoLore 5short T_Local_NPC 6short T_Local_NoLore 7short doOnce 8DontSaveObject 9 10if ( CellChanged == 1 ) 11 Set doOnce to 0 12 Return 13endif 14 15if ( MenuMode == 1 ) 16 Return 17endif 18 19if ( GetCommonDisease == 0 ) 20 AddSpell "rust chancre" 21endif 22 23if ( doOnce == 0 ) 24 if ( GetDistance Player < 400 ) 25 Set doOnce to 1 26 ForceGreeting 27 endif 28endif 29 30End