Scripts

TR_m3_NPC_Nels_Hlervu

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m3_NPC_Nels_Hlervu 2; Script for Nels Hlevru - bandit on the TEM Tremor March - forcegreets player for spooky dialogue 3 4short TR_Map 5short control 6short controlQ 7short NoLore 8short T_Local_NPC 9short T_Local_NoLore 10 11if ( Control ) 12 return 13endif 14 15if ( getdistance player < 400 ) 16 if ( getdetected player == 1 ) 17 if ( getLOS player == 1 ) ; have to call this otherwise he will forcegreet through the floor 18 forcegreeting 19 set Control to 1 20 startcombat player 21 setfight 100 22 endif 23 endif 24endif 25 26if ( TR_Map == 0 ) 27 set TR_Map to 3 28endif 29 30End