Jump to content

Photo

Timer Script, need help


  • Please log in to reply
25 replies to this topic

#21
fg109

fg109

    Faithful poster

  • Members
  • PipPipPipPip
  • 1,244 posts

Get rid of the doonce, and try this (assuming your topic IDs are correct):

Spoiler


The previous script worked, although I admit yours looks cleaner (except for the now redundant FinishDay variable). The problem must be something else other than the script.

#22
Hickory

Hickory

    Indigenous species

  • Premium Member
  • 8,123 posts


Get rid of the doonce, and try this (assuming your topic IDs are correct):

Spoiler


The previous script worked, although I admit yours looks cleaner (except for the now redundant FinishDay variable). The problem must be something else other than the script.


Then I'm confused. If the previous script worked, why are you still looking for a solution? If it doesn't pass to the next stage, clearly it doesn't work. Have you even tried mine?

(Redundant FinishDay removed from quote).

#23
fg109

fg109

    Faithful poster

  • Members
  • PipPipPipPip
  • 1,244 posts
Well I'm not the one trying to make the timer script. I only tried what Wrym1331 had so far and it worked for me. For some reason it didn't work for him. I have no idea why it doesn't. This is exactly what I did:

Opened up TESCS
Create a new quest with ID "aa1"
Set quest priority as 60
Set condition as GetIsPlayableRace == 1
Add stages 6 and 7 to the quest stages tab
Press ok and close the quest window
Choose to create a new script
Choose script type as quest
Pasted this as the script:

Spoiler


Compiled, saved, and closed the script window
Went back to the quest window and chose "01Quest" as the script for "aa1" quest
Saved the mod, opened up OBMM, checked the mod, launched the game
Opened up the command console and typed "SetStage aa1 6"
Kept checking the message on the screen after every 24 hours I slept
After the 4th day (because the script has "If GameDaysPassed > ( StartDay +3 )" and not "If GameDaysPassed >= ( StartDay +3 )") the message changed to "aa1 stage: 7"

Edited by fg109, 12 March 2011 - 10:57 PM.


#24
Hickory

Hickory

    Indigenous species

  • Premium Member
  • 8,123 posts

Well I'm not the one trying to make the timer script.


Ah, right. My oversight.

#25
Wyrm1331

Wyrm1331

    Enthusiast

  • Members
  • PipPip
  • 108 posts

Get rid of the doonce, and try this (assuming your topic IDs are correct):

Spoiler


Hi!!

It finally works, i donīt know why reason it didnīt work before, but with that script, it works. Thanks for all!! :thumbsup:

#26
Hickory

Hickory

    Indigenous species

  • Premium Member
  • 8,123 posts


Get rid of the doonce, and try this (assuming your topic IDs are correct):

Spoiler


Hi!!

It finally works, i donīt know why reason it didnīt work before, but with that script, it works. Thanks for all!! :thumbsup:


Cool. :thumbsup:




Page loaded in: 1.629 seconds