Jump to content

24h (gametime) respawn


Recommended Posts

Hi, I tried searching but couldn't find it, so if this is already answered somewhere, let me know...

I'm wondering if someone can give me an example of a script that could be applied to a container, that resets it's contents every day in game, say 5 oclock. the respawn mechanism is no good for this.

I thought this would be a simple matter, since drinkingbuddy generates or allows you a beer every day, I think, but I couldn't find the script that controls this while looking at his dialogues, and his character.

Never scripted before, so any help is appreciated.

I just don't know how to do it, but I know it should be possible and relatively simple, because you should be able to call on the gametime, and then when it says the appropriate time, reset the container itself...

Thanks

Link to comment
Share on other sites

This might help

https://forums.nexusmods.com/index.php?/topic/701525-adding-money-to-a-chest-every-24-hours/?hl=chest+spawn+gold

Just adapt this method to reset the container instead of spawning gold.

 

btw: there is a drinking buddy quest that has the scripts that control his beer spawning iirc.

Edited by steve40
Link to comment
Share on other sites

  • Recently Browsing   0 members

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