ScriptName NecroAnchoriteQuestScript
short halo
short doonce
short dialogue
short daytimer
short currentday
short initialize
float convtimer
float fquestdelaytime
Begin gamemode
if ( initialize == 0 )
set fquestdelaytime to 0.5
set CurrentDay to GameDay
set initialize to 1
endif
if ( Halo == 1 )
if ( doonce == 0 )
NecroAnchoriteDF01.EvaluatePackage
set doonce to 1
endif
endif
if ( halo == 1 )
if ( Currentday != GameDay )
set halo to 0
endif
endif
if ( currentday != GameDay )
if ( daytimer < 7 )
set daytimer to daytimer + 1
set currentday to GameDay
else
set halo to 1
set daytimer to 0
set currentday to GameDay
endif
endif
if ( Halo == 0 )
if ( doonce == 2 )
set NecroAnchoriteDF01.dialogue to 0
set doonce to 0
endif
endif
End |