scn SESacellumSpeechScript
short SpeechCheck ;This is the only variable that needs resetting when player exits Sacellum
short DoOnce ;DoOnce variable reset in each Speech script
begin gamemode
;These blocks reset everything when the player leaves the Sacellum cell
;Arctus
if ( SE06FlameDementiaSacellumREF.GetDisabled == 0 )
if ( DoOnce == 0 )
if ( Player.GetInCell SENSSacellumArdenSul == 0 )
Set SpeechCheck to 0
Set DoOnce to 1
endif
endif
endif
;Dervenin
if ( SE06FlameManiaSacellumREF.GetDisabled == 0 )
if ( DoOnce == 0 )
if ( Player.GetInCell SENSSacellumArdenSul == 0 )
Set SpeechCheck to 0
Set DoOnce to 1
endif
endif
endif
end |