-
Posts
416 -
Joined
-
Last visited
Everything posted by Dimitrisgb
-
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.
-
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
-
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.
-
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
-
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
-
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