Scripts

TR_m4_NPC_Wulfus

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
greetOnce
T_Local_NPC
NoLore
Source
1Begin TR_m4_NPC_Wulfus 2 3short TR_Map 4short control 5short controlQ 6short greetOnce 7short T_Local_NPC 8short NoLore 9 10if ( OnDeath == 1 ) 11 if ( GetJournalIndex "TR_m4_TG_Shei3" == 10 ) 12 if ( GetJournalIndex "TR_m4_TG_Shei3B" < 75 ) 13 Journal "TR_m4_TG_Shei3B" 75 14 endif 15 endif 16endif 17 18if ( greetOnce == 0 ) 19 if ( GetDistance "TR_m4_rowdy rilmas" <= 677 ) 20 if ( GetJournalIndex "TR_m4_TG_Shei3" == 10 ) 21 if ( GetJournalIndex "TR_m4_TG_Shei3B" < 25 ) 22 set greetOnce to 1 23 ForceGreeting 24 endif 25 endif 26 endif 27endif 28 29if ( TR_Map == 4 ) 30 return 31endif 32 33set TR_Map to 4 34 35End