evenflcw
10-11-2007, 08:53 PM
I'm using store() and recall() to remember user settings between calls. However this stores the values permanently. So next time Lightwave starts it uses the values from the last session. I don't want this. It is not how these things usually work. After a clean restart values should be set to default.
So, I would like to store values only as long as a LW session lasts. How to do that? Is it at all possible? Is there maybe a value I can read that will regularly be unique for every LW session, but doesn't change between calls, that I could check to determine if the session is new?
So, I would like to store values only as long as a LW session lasts. How to do that? Is it at all possible? Is there maybe a value I can read that will regularly be unique for every LW session, but doesn't change between calls, that I could check to determine if the session is new?