Scripts

TR_m3_IL_Judge_Merchant_sc

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1begin TR_m3_IL_Judge_Merchant_sc 2 3short TR_Map 4short control 5short controlQ 6short T_Local_NPC 7short NoLore 8 9if ( CellChanged == 1 ) 10 if ( control == 1 ) 11 if ( GetDisabled == 0 ) 12 if ( GetDistance "player" >= 4000 ) 13 Disable 14 endif 15 endif 16 endif 17endif 18 19if ( TR_Map ) 20 return 21endif 22 23set TR_Map to 3 24 25End