Jump to content

Recommended Posts

Posted

If you've created a new fridge baseform, and added the script to it, then you don't need to use a persistent reference.

ResetInventory ; When no object ref prefix is used, the 'current object' is implied.

 

Should be working with either of the methods you used.

Remember that it will run OnLoad. So it will run when the player returns back to base as the fridge re-renders.

If you stood there watching it then it won't work.

 

There's a time global similar to the GameDaysPassed global used above. Look on the 'Special Variables' page of the GECK wiki.

Though it won't lead to a shorter script anyway.

The vanilla fridge script is buggy btw. It will reset the fridge endlessly throughout the day.

  • Recently Browsing   0 members

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