AlexKnight1978 Posted June 15, 2008 Share Posted June 15, 2008 I'm again working on my Stargate Mod, to get it to go to every city. 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: 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 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 Link to comment Share on other sites More sharing options...
Warmstar219 Posted June 16, 2008 Share Posted June 16, 2008 Your script seems fine. Just a question: did you possibly change the EditorIDs of the Chorrol Chevrons? Link to comment Share on other sites More sharing options...
AlexKnight1978 Posted June 16, 2008 Author Share Posted June 16, 2008 The ID's were fine, I found the problem in the meantime, I set a Global variable for activating the Gate and Chevrons, but when i activated another gate, the same variable got used... thus, all the other gates became active again. I have now changed them, so each gate has his own global variable. The network works, I'll be posting it soon. :banana: ;D ;D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.