That part works, but I can't seem to get the gates to disable if I don't go back there by Gate.
I do this:
I travel by Stargate from Chorrol to Paradise Home, I then go to the Imperial City by Stargate, after that, I fast travel to Chorrol, only to see the gate still open.
In the Chorrol DHD script it says to move aaaaPlayerMarker to aaaaGateMarkChorrol, so the marker is in Chorrol.
Then it runs this script when Player enters the Paradise Home:
CODE
scn aaaaHomeGateDisablerScript
Begin GameMode
if ( Player.GetInSameCell aaaaGateMarkHome )
if HomeGateOn == 1
if GateOn == 1
if ( aaaaPlayerMarker.GetInSameCell aaaaGateMarkChorrol )
aaaaStarGateChorrol.Disable
Chevron1Chorrol.Disable
Chevron2Chorrol.Disable
Chevron3Chorrol.Disable
Chevron4Chorrol.Disable
Chevron5Chorrol.Disable
Chevron6Chorrol.Disable
Chevron7Chorrol.Disable
set aaaaDisableGates to 1
endif
if ( aaaaDisableGates == 1 )
playsound aaaaStargateSoundClose
aaaaStarGateHome.Disable
Chevron1Home.Disable
Chevron2Home.Disable
Chevron3Home.Disable
Chevron4Home.Disable
Chevron5Home.Disable
Chevron6Home.Disable
Chevron7Home.Disable
set aaaaLocationChoice to 0
set aaaaDisableGates to 0
set aaaaTriggered to 0
set ChevronInit to 0
set GateOn to 0
set aaaaTriggered1 to 0
set HomeChevronInit to 0
set HomeGateOn to 0
StopQuest aaaaHomeGateDisabler
endif
endif
endif
endif
End
Begin GameMode
if ( Player.GetInSameCell aaaaGateMarkHome )
if HomeGateOn == 1
if GateOn == 1
if ( aaaaPlayerMarker.GetInSameCell aaaaGateMarkChorrol )
aaaaStarGateChorrol.Disable
Chevron1Chorrol.Disable
Chevron2Chorrol.Disable
Chevron3Chorrol.Disable
Chevron4Chorrol.Disable
Chevron5Chorrol.Disable
Chevron6Chorrol.Disable
Chevron7Chorrol.Disable
set aaaaDisableGates to 1
endif
if ( aaaaDisableGates == 1 )
playsound aaaaStargateSoundClose
aaaaStarGateHome.Disable
Chevron1Home.Disable
Chevron2Home.Disable
Chevron3Home.Disable
Chevron4Home.Disable
Chevron5Home.Disable
Chevron6Home.Disable
Chevron7Home.Disable
set aaaaLocationChoice to 0
set aaaaDisableGates to 0
set aaaaTriggered to 0
set ChevronInit to 0
set GateOn to 0
set aaaaTriggered1 to 0
set HomeChevronInit to 0
set HomeGateOn to 0
StopQuest aaaaHomeGateDisabler
endif
endif
endif
endif
End
The Home Gate shuts down just like it should, so aaaaDisableGates gets turned to 1, otherwise, that wouldn't happen, but the Chorrol Gate and lights are still on when I get there...
Could use some help with this, because I'm stuck.
Thanks in advance