Scripts

CharGenBoatWomen

Morrowind.esm
Variables 2
Local Variables
state
timer
Source
1begin CharGenBoatWomen 2 3;this is the woman on the boat 4 5short state 6float timer 7 8if ( menumode == 1) 9 return 10endif 11 12if ( OnActivate == 1 ) 13 return 14endif 15 16if ( GetDistance, Player < 180 ) 17 18 if ( SayDone == 1) 19 20 ;first greeting 21 if ( state == 0 ) 22 if ( timer == 0 ) ;using a timer so he doesn't talk ALL the time 23 say, "vo\Misc\CharGenWoman1.wav", "The sooner you leave, the sooner we can move on." 24 set state to 10 25 endif 26 27 ;all other times after first 28 else 29 set timer to timer + GetSecondsPassed 30 31 if ( timer > 6 ) 32 set timer to 0 33 say, "vo\Misc\CharGenWoman2.wav", "Yes, confused? We're all waiting." 34 endif 35 36 endif 37 38 39 endif 40 41 42endif 43 44 45end CharGenBoatWomen