banjo_oz
First time out of the vault
I've been looking at timer functions but haven't been able to find what I needed.
If I wanted to script something so that any time while the game is running, after a certain number of hours or days the player is given a specific perk, affected by a specific effect (say, -1 to Endurance) or a GVAR increases/decreases, what function should I use and how?
What is the best function to use that checks time passed since it last run so I can have it do something? Is it
? If so, how would I set it to check every so often? Is there a hook (I couldn't find one) that triggers "when time passes" or something similar?
If I wanted to script something so that any time while the game is running, after a certain number of hours or days the player is given a specific perk, affected by a specific effect (say, -1 to Endurance) or a GVAR increases/decreases, what function should I use and how?
What is the best function to use that checks time passed since it last run so I can have it do something? Is it
Code:
time_has_passed(old_time, passed_time)