Scripts

TR_m7_Jamyne_Avel_scr

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
greetonce
timer
Source
1Begin TR_m7_Jamyne_Avel_scr 2 3float timer 4short TR_Map 5short control 6short controlQ 7short T_Local_NPC 8short NoLore 9short greetonce 10 11if ( TR_Map != 7 ) 12 set TR_Map to 7 13endif 14 15if ( control ) 16 return 17endif 18 19if ( OnDeath ) 20 set control to 1 21endif 22 23Set timer to ( timer + GetSecondsPassed ) 24 25if ( timer < 2 ) 26 Return 27endif 28 29Set timer to 0 30 31if ( GetDistance Player <= 500 ) 32 if ( greetonce == 0 ) 33 if ( GetDetected Player ) 34 ForceGreeting 35 endif 36 endif 37endif 38 39End