Scripts

TR_m7_NPC_Bargrazh

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
T_Local_NoLore
Source
1Begin TR_m7_NPC_Bargrazh 2 3short TR_Map 4short control 5short controlQ 6short T_Local_NPC 7short NoLore 8short T_Local_NoLore 9 10if ( control == 1 ) 11 if ( GetDistance player > 250 ) 12 if ( controlQ == 0 ) 13 set controlQ to 1 14 if ( GetDetected player ) 15 if ( player->GetPos x > 4275 ) 16 Face 4458 4171 17 else 18 Face 3715 4125 19 endif 20 endif 21 endif 22 else 23 set controlQ to 0 24 endif 25endif 26 27if ( TR_Map == 7 ) 28 return 29endif 30 31set TR_Map to 7 32 33End