Scripts

TR_m1_GoriniasDoorScript

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
control
DoOnce
T_Local_NPC
NoLore
Source
1begin TR_m1_GoriniasDoorScript 2 3; script on NPC TR_m1_Gorinia. (Used to be on an activator, but is no longer.) 4 5short TR_Map 6short control 7short DoOnce 8short T_Local_NPC 9short NoLore 10 11if ( CellChanged ) 12 if ( DoOnce < 2 ) 13 if ( GetJournalIndex "TR_m1_FW_Clannfear" == 100 ) 14 PositionCell 4232 4176 15046 14100 "Firewatch, Gorinia's House" ;TR_m1_MARK_Gorinia 15 AiWander 0 0 0 0 0 0 0 0 0 0 0 0 16 set DoOnce to 2 17 endif 18 endif 19endif 20 21if ( TR_Map == 1 ) 22 return 23endif 24 25set TR_Map to 1 26 27End