scn NDProphetSCRIPT
float timer
short startPreaching
short Sermon
begin menumode 1009
if getstage ND09 == 0
set timer to 5
endif
end
begin gamemode
if timer > 0
set timer to timer - GetSecondsPassed
else
if startPreaching == 1
if getIsCurrentPackage NDProphetPreachAnvil == 1
if IsTalking == 0 && getdistance NDProphetPreachAnvilMarker < 50
startconversation NDProphetRef NDProphetSpeechMain
set timer to 10
endif
endif
elseif GetStage ND09 >= 5
if ( Sermon == 0 )
if ( GetDistance ND09ProphetChapelMarker < 10 )
startconversation NDProphetRef ND09ProphetSermon01
set Sermon to 1
endif
endif
endif
endif
end
begin OnPackageDone NDProphetPreachAnvil
set startPreaching to 1
end
begin OnPackageChange NDProphetPreachAnvil
set startPreaching to 0
end
|