Scripts

TR_m4_NPC_Rondo

TR_Mainland.esm
Variables 6
Local Variables
doOnce
annoy
nolore
T_Local_NPC
T_Local_NoLore
TR_Map
Source
1Begin TR_m4_NPC_Rondo 2 3short doOnce 4short annoy 5short nolore 6short T_Local_NPC 7short T_Local_NoLore 8short TR_Map 9 10if ( TR_Map != 4 ) 11 set TR_Map to 4 12endif 13 14if ( GetDistance, player >= 1000 ) 15 return 16endif 17 18if ( GetHealth <= 1 ) 19 return 20endif 21 22if ( doOnce == 0 ) 23 if ( SayDone == 1 ) 24 if ( GetDistance, player <= 350 ) 25 if ( annoy == 0 ) 26 Say, "vo\b\m\Idl_BM006.mp3", "Loud whistling." 27 set doOnce to 1 28 set annoy to 1 29 elseif ( annoy == 1 ) 30 Say, "vo\w\m\Idl_WM005.mp3", "Loud humming." 31 set doOnce to 1 32 set annoy to 0 33 endif 34 endif 35 endif 36endif 37 38if ( GetDistance, player >= 355 ) 39 set doOnce to 0 40 return 41endif 42 43end