Jump to content

Translateto(), OnCellLoad(), OnLoad() and other quirks...


bloomingdedalus

Recommended Posts

I have the bizzare problem of objects I Translate being in the position they were last in the game world prior to load of the previous saved game. Of course, when I close out Skyrim and come back in, a fresh save will display the objects in their original place. But what if someone dies during my mod and reloads their last save? If it won't put the translated objects back in their previous positions, than I'm in trouble. Is it because I use an "OnInit()" event to determine the origins of the objects which apparently doesn't fire from a new load? Or is it just that Skyrim doesn't consider Static Objects which have been translated to be worthy of dumping from memory on a new load. I guess, because they're static, it doesn't expect them to move.

 

Any way to translate statics and their new locations to be saved? Or do I have to go to nifskope and create a new object? Because that sounds like a pain in the butt.

 

It apparently resets lights.

Link to comment
Share on other sites

I have the bizzare problem of objects I Translate being in the position they were last in the game world prior to load of the previous saved game. Of course, when I close out Skyrim and come back in, a fresh save will display the objects in their original place. But what if someone dies during my mod and reloads their last save? If it won't put the translated objects back in their previous positions, than I'm in trouble. Is it because I use an "OnInit()" event to determine the origins of the objects which apparently doesn't fire from a new load? Or is it just that Skyrim doesn't consider Static Objects which have been translated to be worthy of dumping from memory on a new load. I guess, because they're static, it doesn't expect them to move.

 

Any way to translate statics and their new locations to be saved? Or do I have to go to nifskope and create a new object? Because that sounds like a pain in the butt.

 

It apparently resets lights.

 

Well, I figured out how to turn a Static into a Movable Static, which seems to take care of the reset problem. Don't know how to make movable statics collide, but the only reason that would matter is if people were shooting my lights with arrows, in which case, they deserve bugs because it's a waste of time.

 

If anyone happens to know what settings one changes in NifSkope to make a static a movable static which additionally updates the colision with "OnTranslate" - I'd be thrilled to know. But the serious problem I solved.

Edited by bloomingdedalus
Link to comment
Share on other sites

  • Recently Browsing   0 members

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