×
Меню
Индекс

MSFD Moon phases

 
Indispensable for any potential werewolf mod.
 
[no fix] GetMasserPhase     (returns short)
[no fix] GetSecundaPhase     (returns short)
 
     If (GetMasserPhase == 4)
     [enable werewolf monster]
     endif
 
Note: The helpfile lists GetSecundusPhase, the above syntax GetSecundaPhase is the correct one. Also note that GetMasserPhase and GetSecundaPhase return the value of the moon phases for the last exterior cell you visited (Forum Info / Elim).
 
I only made a quick test with these, but they seem to work.
Both functions return short with these values:
0 = MOON_PHASE_NEW (this is the default)
1 = MOON_PHASE_WAXING_CRESCENT or MOON_PHASE_WANING_CRESCENT:
2 = MOON_PHASE_WAXING_HALF or MOON_PHASE_WANING_HALF:
3 = MOON_PHASE_WAXING_GIBBOUS or MOON_PHASE_WANING_GIBBOUS:
4 = MOON_PHASE_FULL