WaitOneDay
Morrowind.esm
Variables
3
Local Variables
currentDay
localdaysPassed
NoLore
Source
1Begin WaitOneDay
2
3short currentDay
4short localdaysPassed
5Short NoLore ;blocks discussion of general topics
6
7if ( currentDay != Day )
8 ;assume that the day has gone up, not down or something...
9 set currentDay to Day
10 set localdaysPassed to localdaysPassed + 1
11endif
12
13;Old Version (for reference -- month thing makes no sense so sayeth Doug)
14
15;short eventDay
16;short eventMonth
17;short oneDayPassed
18
19;if (oneDayPassed == 0)
20; set oneDayPassed to 1
21; set eventDay to Day
22; set eventMonth to Month
23;endif
24
25;if (oneDayPassed == 1)
26; if (Month != eventMonth)
27; set oneDayPassed to 2
28; endif
29;
30; if (Day != eventDay)
31; set oneDayPassed to 2
32; endif
33;endif
34
35End