Jump to content

Dimitrisgb

Members
  • Posts

    416
  • Joined

  • Last visited

Everything posted by Dimitrisgb

  1. So, I found out that I made a mistake on the script and that was why the Gate couldn't be disabled. I fixed it and it seems to work as properly as the NPC's. I 'll keep running some tests to be sure. Thanx for your advice though.
  2. Well, I deleted the gate, loaded the game and the door was gone. Then I saved, put another gate and it was there from the beginning.
  3. So, I tested the gate and it appears from the beginning. Then I chose it to be initially disabled, but it didn't work.
  4. It's like an Oblivion gate. To be more precise, it's that gate you see on Boethia's and Peryite's quests.
  5. It's like an Oblivion Gate. To be more precise, it's that kind of gate you see on Boethia's and Peryite's quests.
  6. Ok, I saw the edits and they work. Thank you all for your help and time, I really appreciate it. How can I do something similar with gates? I entered the ref ID of a gate I placed, but the gate is already there. Need I create another gate (with a different base ID)? I was looking the scripts for the Oblivion gates, but couldn't make sense, though the idea here is the same: the gate appears at 9 p.m. Or I could set an NPC to open the gate.
  7. This doesn't work at all. It's not that there are errors and that. It's just that the NPCs don't appear.
  8. I get an error message that says "Missing block and keyword" for "else" and "Mismatching block" for "end".
  9. Looks like this is working. But I am trying to add the rest of the NPCs and I get mismatching blocks and all that. How exactly can I add them? This is what I wrote: scn ELSJinsAppear begin GameMode if GameHour >= 21 || GameHour < 6 if ELSHunbalSpirit.GetDisabled != 0ELSHunbalSpirit.Enableif ELSAlUzzaSpirit.GetDisabled ! = 0ELSAlUzzaSpirit.Enable endifelse if ELSHunbalSpirit.GetDisabled == 0ELSHunbalSpirit.Disableif ELSAlUzzaSpirit.GetDisabled == 0ELSAlUzzaSpirit.Enable endifendifend
  10. That's not working either. There are no errors, though. I think I am going to try my first script with some changes.
  11. For example, Al-Uzza's base ID is ELSAlUzza. Her ref ID is ELSAlUzzaSpirit. So I tried this code: scn ELSJinsAppearTest short DoOnce1 Begin GameMode if (GetCurrentTime >= 21) && (GetCurrentTime <= 5) enable ELSHunbalSpirit {ELSRhondalBurningStarTemple}.enable ELSAlUzzaSpirit {ELSRhondalBurningStarTemple}enable ELSManatSpirit {ELSRhondalBurningStarTemple}. else disable ELSHunbalSpirit {ELSRhondalBurningStarTemple}disable ELSAlUzzaSpirit {ELSRhondalBurningStarTemple}.disable ELSManatSpirit {ELSRhondalBurningStarTemple}. endifSet DoOnce1 to 1End Which has no errors, no missing variables, no unknown script commands, but still doesn't work.
  12. This doesn't work either: scn ELSJinsAppearTestshort DoOnce1 Begin OnActivate if (GetCurrentTime >= 21) && (GetCurrentTime <= 5) ELSHunbalSpirit.ref {ELSRhondalBurningStarTemple}.enableELSAlUzzaSpirit.ref {ELSRhondalBurningStarTemple}.enableELSManatSpirit.ref {ELSRhondalBurningStarTemple}.enable else ELSHunbalSpirit.ref {ELSRhondalBurningStarTemple}.disableELSAlUzzaSpirit.ref {ELSRhondalBurningStarTemple}.disableELSManatSpirit.ref {ELSRhondalBurningStarTemple}.disable endifSet DoOnce1 to 1End
  13. Still doesn't work. "Script command not found" This is what I wrote scn ELSJinsAppearTestshort DoOnce1 Begin OnActivate if (GetCurrentTime >= 21) && (GetCurrentTime <= 5) ELSHubal {ELSRhondalBurningStarTemple} enableELSAlUzza {ELSRhondalBurningStarTemple} enableELSManat {ELSRhondalBurningStarTemple} enableELSGoodJin1 {Wilderness} enableELSEvilJin1 {ELSBattlemageHideoutExt} enableelse ELSHubal {ELSRhondalBurningStarTemple} disableELSAlUzza {ELSRhondalBurningStarTemple} disableELSManat {ELSRhondalBurningStarTemple} disableELSGoodJin1 {Wilderness} disableELSEvilJin1 {ELSBattlemageHideoutExt} disable endifSet DoOnce1 to 1End
  14. This is what I wrote: scn ELSJinsAppearTestshort DoOnce1 begin GameMode if GameHour >= 5if ELSEvilJin1 GetDisabled == 0 ;group of jins is not disabled;disable jin groupELSEvilJin1 DisableELSGoodJin1 DisableELSHubal DisableELSAlUzza DisableELSManat DisableELSAlLat Disableset DoOnce1 to 0 ;reset flag to make appear them at night againendif endif If GameHour >= 21;is player in same cell as groupif Player.GetInSameCell ELSEvilJin1 != 0 && DoOnce1 == 0;yes, so enable whole groupELSEvilJin1 EnableELSGoodJin1 EnableELSHubal EnableELSAlUzza EnableELSManat EnableELSAlLat EnableSet DoOnce1 to 1endifEndIf End
  15. Nope. Still not working. I replaced their ref with their Base ID and still the auto-correct can recognize the script command. And one more thing. That EvilBattleMageJin is not supposed to be in the same cell with the rest. Shoild I remove that sentence?
  16. I just copied and adjusted a lights script. It used to work just fine. I will try by removing the ref.
  17. Can't make it work. Syntax errors and for some weird reason, the script can't recognise the existence of the NPC's.
  18. The player is not supposed to activate anything to make the NPCs appear. So why do you use OnActivate then? I tried the Begin OnGame, but I got a message the script can't recognise the word OnGame.
×
×
  • Create New...