Jump to content

Tracking Passing Days


Jamo12

Recommended Posts

Hi,

 

I'm working on a mod that requires the tracking of when a day has passed. Every day the player needs to be shown a message.

 

I've spent a couple of hours tinkering around with GameDaysPassed but after many attempts my greatest achievement is getting the message to display every few seconds. Before I tear my hair out I thought I'd come to the forums for a little help.

 

I appreciate any help,

 

Thanks

Link to comment
Share on other sites

If you haven't done it this way it might be worth a try

 

when message shows

set variable to gamedayspassed + 1

 

when checking if message needs showing again

if gamedayspassed > variable

 

It's been a while since I used that function so I might be a bit rusty on it, but since it's a float it should increase in value every few seconds of RL time, but a +1 increase should only occur once a day. If you're getting the message every few seconds with the +1, then it might help to post the script, or change the message to show the current state of any variables you're using for timing.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...